original_string: public static function valid() {
  		if (static::start() && static::read('Config')) {
  			if (static::_validAgentAndTime() && static::$error === false) {
  				static::$valid = true;
  			} else {
  				throw new InternalErrorException('Session Highjacking Attempted !!!');
  			}
  		}
  		return static::$valid;
  	}
code: public static function valid() {
  		if (static::start() && static::read('Config')) {
  			if (static::_validAgentAndTime() && static::$error === false) {
  				static::$valid = true;
  			} else {
  				throw new InternalErrorException('Session Highjacking Attempted !!!');
  			}
  		}
  		return static::$valid;
  	}
code_tokens: public static function valid ( ) { if ( static :: start ( ) && static :: read ( 'Config' ) ) { if ( static :: _validAgentAndTime ( ) && static :: $ error === false ) { static :: $ valid = true ; } else { throw new InternalErrorException ( 'Session Highjacking Attempted !!!' ) ; } } return static :: $ valid ; }
docstring: Returns true if session is valid.
  
  @return bool Success
docstring_tokens: Returns true if session is valid .