public function isActive($routes)
    {
        $routes = is_array($routes) ? $routes : func_get_args();

        list($routes, $ignoredRoutes) = $this->parseIgnoredRoutes($routes);

        if ($this->isPath($routes) || $this->isFullPath($routes) || $this->isRoute($routes)) {
            if (count($ignoredRoutes) && ($this->isPath($ignoredRoutes) || $this->isFullPath($routes) || $this->isRoute($ignoredRoutes))) {
                return false;
            }

            return true;
        }

        return false;
    }
public function isActive($routes)
    {
        $routes = is_array($routes) ? $routes : func_get_args();

        list($routes, $ignoredRoutes) = $this->parseIgnoredRoutes($routes);

        if ($this->isPath($routes) || $this->isFullPath($routes) || $this->isRoute($routes)) {
            if (count($ignoredRoutes) && ($this->isPath($ignoredRoutes) || $this->isFullPath($routes) || $this->isRoute($ignoredRoutes))) {
                return false;
            }

            return true;
        }

        return false;
    }
public function isActive ( $ routes ) { $ routes = is_array ( $ routes ) ? $ routes : func_get_args ( ) ; list ( $ routes , $ ignoredRoutes ) = $ this -> parseIgnoredRoutes ( $ routes ) ; if ( $ this -> isPath ( $ routes ) || $ this -> isFullPath ( $ routes ) || $ this -> isRoute ( $ routes ) ) { if ( count ( $ ignoredRoutes ) && ( $ this -> isPath ( $ ignoredRoutes ) || $ this -> isFullPath ( $ routes ) || $ this -> isRoute ( $ ignoredRoutes ) ) ) { return false ; } return true ; } return false ; }
Determine if any of the provided routes are active.

@param  mixed  $routes
@return bool
Determine if any of the provided routes are active .