private static function checkDuplicated(Route $route)
    {
        foreach (self::$register as $registeredRoute) {
            if ($registeredRoute->getName() == $route->getName()) {
                return true;
            }
        }

        return false;
    }