public function isStarted()
    {
        $started = false;
        if (version_compare(phpversion(), '5.4.0', '>=')) {
            $started = session_status() === PHP_SESSION_ACTIVE ? true : false;
        } else {
            $started = session_id() === '' ? false : true;
        }

        return $started;
    }
public function isStarted()
    {
        $started = false;
        if (version_compare(phpversion(), '5.4.0', '>=')) {
            $started = session_status() === PHP_SESSION_ACTIVE ? true : false;
        } else {
            $started = session_id() === '' ? false : true;
        }

        return $started;
    }
public function isStarted ( ) { $ started = false ; if ( version_compare ( phpversion ( ) , '5.4.0' , '>=' ) ) { $ started = session_status ( ) === PHP_SESSION_ACTIVE ? true : false ; } else { $ started = session_id ( ) === '' ? false : true ; } return $ started ; }
Is session started?
@return bool
@see    http://us2.php.net/manual/en/function.session-status.php#113468 Sourced from this comment from on php.net
Is session started?