private function isUniqueRouteName($name) {
        foreach ($this->routes as $route) {
            if (mb_strtolower($route->name) == mb_strtolower($name)) {
                return false;
            }
        }

        return true;
    }
private function isUniqueRouteName($name) {
        foreach ($this->routes as $route) {
            if (mb_strtolower($route->name) == mb_strtolower($name)) {
                return false;
            }
        }

        return true;
    }
private function isUniqueRouteName ( $ name ) { foreach ( $ this -> routes as $ route ) { if ( mb_strtolower ( $ route -> name ) == mb_strtolower ( $ name ) ) { return false ; } } return true ; }
Checks the uniqueness of the route name.

@param string $name Name to check.

@return bool
Checks the uniqueness of the route name .