A way to check if wordpress installation is self-hosted or hosted via wordpress.com?

A way to check if wordpress installation is self-hosted or hosted via wordpress.com?