original_string: public function exists($path)
      {
          foreach ($this->route->getList() as $route) {
              if (isset($route['pattern']) && $route['pattern'] === $path) {
                  return true;
              }
          }
  
          return (bool) $this->get(array('alias' => $path));
      }
code: public function exists($path)
      {
          foreach ($this->route->getList() as $route) {
              if (isset($route['pattern']) && $route['pattern'] === $path) {
                  return true;
              }
          }
  
          return (bool) $this->get(array('alias' => $path));
      }
code_tokens: public function exists ( $ path ) { foreach ( $ this -> route -> getList ( ) as $ route ) { if ( isset ( $ route [ 'pattern' ] ) && $ route [ 'pattern' ] === $ path ) { return true ; } } return ( bool ) $ this -> get ( array ( 'alias' => $ path ) ) ; }
docstring: Whether the alias path already exists
  @param string $path
  @return boolean
docstring_tokens: Whether the alias path already exists