protected function is($object, $routes)
    {
        list($routes, $ignored) = $this->parseRoutes(Arr::wrap($routes));

        return $this->isIgnored($ignored)
            ? false
            : call_user_func_array([$object, 'is'], $routes);
    }
protected function is($object, $routes)
    {
        list($routes, $ignored) = $this->parseRoutes(Arr::wrap($routes));

        return $this->isIgnored($ignored)
            ? false
            : call_user_func_array([$object, 'is'], $routes);
    }
protected function is ( $ object , $ routes ) { list ( $ routes , $ ignored ) = $ this -> parseRoutes ( Arr :: wrap ( $ routes ) ) ; return $ this -> isIgnored ( $ ignored ) ? false : call_user_func_array ( [ $ object , 'is' ] , $ routes ) ; }
Check if one the given routes is active.

@param  mixed         $object
@param  string|array  $routes

@return bool
Check if one the given routes is active .