Library/Think/Http/Router.class.php
/**
     * Has named route
     * @param  string $name The route name
     * @return bool
     */
Has named route
@param  string $name The route name
@return bool
Has named route @param string $name The route name @return bool
public function hasNamedRoute($name) {
        $this->getNamedRoutes();
        return isset($this->namedRoutes[(string) $name]);
    }
public function hasNamedRoute ( $ name ) { $ this -> getNamedRoutes ( ) ; return isset ( $ this -> namedRoutes [ ( string ) $ name ] ) ; }
Has named route
 @param  string $name The route name
 @return bool
Has named route @param string $name The route name @return bool