src/Route.php
public function valid($route)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        return isset($this->route[strtolower($route)]);
    }
public function valid($route)
    {
        //argument 1 must be a string
        Argument::i()->test(1, 'string');

        return isset($this->route[strtolower($route)]);
    }
public function valid ( $ route ) { //argument 1 must be a string Argument :: i ( ) -> test ( 1 , 'string' ) ; return isset ( $ this -> route [ strtolower ( $ route ) ] ) ; }
Checks to see if a name is a route

@param *string $route the class route name

@return bool
Checks to see if a name is a route