public function has($name)
    {
        $names = is_array($name) ? $name : func_get_args();

        foreach ($names as $value) {
            if (! $this->routes->hasNamedRoute($value)) {
                return false;
            }
        }

        return true;
    }
public function has($name)
    {
        $names = is_array($name) ? $name : func_get_args();

        foreach ($names as $value) {
            if (! $this->routes->hasNamedRoute($value)) {
                return false;
            }
        }

        return true;
    }
public function has ( $ name ) { $ names = is_array ( $ name ) ? $ name : func_get_args ( ) ; foreach ( $ names as $ value ) { if ( ! $ this -> routes -> hasNamedRoute ( $ value ) ) { return false ; } } return true ; }
Check if a route with the given name exists.

@param  string  $name
@return bool
Check if a route with the given name exists .