original_string: public function isActive($mode = null)
      {
          if ($mode !== null && isset($_GET[$this->name])) {
              return $_GET[$this->name] == $mode;
          }
  
          return isset($_GET[$this->name]) ? $_GET[$this->name] : false;
      }
code: public function isActive($mode = null)
      {
          if ($mode !== null && isset($_GET[$this->name])) {
              return $_GET[$this->name] == $mode;
          }
  
          return isset($_GET[$this->name]) ? $_GET[$this->name] : false;
      }
code_tokens: public function isActive ( $ mode = null ) { if ( $ mode !== null && isset ( $ _GET [ $ this -> name ] ) ) { return $ _GET [ $ this -> name ] == $ mode ; } return isset ( $ _GET [ $ this -> name ] ) ? $ _GET [ $ this -> name ] : false ; }
docstring: Returns true if the URL is requesting the page to be shown.
  If no parameter is passed, then return active page mode.
  
  @param string $mode Optionally ask for specific mode
  
  @return bool|string
docstring_tokens: Returns true if the URL is requesting the page to be shown . If no parameter is passed then return active page mode .