original_string: public static function check($name) {
  		if (empty($name)) {
  			return false;
  		}
  
  		return Hash::get($_SESSION, $name) !== null;
  	}
code: public static function check($name) {
  		if (empty($name)) {
  			return false;
  		}
  
  		return Hash::get($_SESSION, $name) !== null;
  	}
code_tokens: public static function check ( $ name ) { if ( empty ( $ name ) ) { return false ; } return Hash :: get ( $ _SESSION , $ name ) !== null ; }
docstring: Returns true if given variable is set in session.
  
  @param string $name Variable name to check for
  @return bool True if variable is there
docstring_tokens: Returns true if given variable is set in session .