public function HasRoute ($routeOrRouteName) {
		if (is_string($routeOrRouteName)) {
			return isset($this->routes[$routeOrRouteName]);
		} else /*if ($routeOrRouteName instance of \MvcCore\IRoute)*/ {
			return (
				isset($this->routes[$routeOrRouteName->GetName()]) || 
				isset($this->routes[$routeOrRouteName->GetControllerAction()])
			);
		}
		//return FALSE;
	}
public function HasRoute ($routeOrRouteName) {
		if (is_string($routeOrRouteName)) {
			return isset($this->routes[$routeOrRouteName]);
		} else /*if ($routeOrRouteName instance of \MvcCore\IRoute)*/ {
			return (
				isset($this->routes[$routeOrRouteName->GetName()]) || 
				isset($this->routes[$routeOrRouteName->GetControllerAction()])
			);
		}
		//return FALSE;
	}
public function HasRoute ( $ routeOrRouteName ) { if ( is_string ( $ routeOrRouteName ) ) { return isset ( $ this -> routes [ $ routeOrRouteName ] ) ; } else /*if ($routeOrRouteName instance of \MvcCore\IRoute)*/ { return ( isset ( $ this -> routes [ $ routeOrRouteName -> GetName ( ) ] ) || isset ( $ this -> routes [ $ routeOrRouteName -> GetControllerAction ( ) ] ) ) ; } //return FALSE; }
Get `TRUE` if router has any route by given route name or `FALSE` if not.
@param string|\MvcCore\IRoute $routeOrRouteName
@return bool
Get TRUE if router has any route by given route name or FALSE if not .