public static function domainExists($domain) {

		if(false === is_string($domain)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($domain)), E_USER_ERROR);
		}

		$routes = static :: getRoutes();

		foreach($routes as $route) {

			$domains = $route -> getDomain();

			if(true === is_array($domains)) {

				foreach($domains as $url) {

					if(preg_match('#'. str_replace('#', '\#', $url) .'#', $domain) || $url === $domain) {
						return true;
					}
				}
			}
		}

		return false;
	}