Maybe use $route->hasScheme