original_string: 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;
      }
code: 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;
      }
code_tokens: 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 ; }
docstring: 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
docstring_tokens: Is session started?