Checking if session support is enabled on the server

session_start should always be callable.
As of PHP 5.3, session_start returns a boolean FALSE if it was unable to start a session, so you can just if(!session_start())