original_string: public function isPageAllowed($page)
      {
          if ($this->hook('isPageAllowed', array($page)) === true) {
              return true;
          }
  
          return in_array($page, $this->allowed_pages) || in_array(str_replace('_', '/', $page), $this->allowed_pages);
      }
code: public function isPageAllowed($page)
      {
          if ($this->hook('isPageAllowed', array($page)) === true) {
              return true;
          }
  
          return in_array($page, $this->allowed_pages) || in_array(str_replace('_', '/', $page), $this->allowed_pages);
      }
code_tokens: public function isPageAllowed ( $ page ) { if ( $ this -> hook ( 'isPageAllowed' , array ( $ page ) ) === true ) { return true ; } return in_array ( $ page , $ this -> allowed_pages ) || in_array ( str_replace ( '_' , '/' , $ page ) , $ this -> allowed_pages ) ; }
docstring: Verifies if the specified page is allowed to be accessed without
  authentication.
  
  @param string $page
  
  @return bool
docstring_tokens: Verifies if the specified page is allowed to be accessed without authentication .