src/Valkyrja/Routing/RouteCollection.php
public function issetStaticRoute(string $method, string $path): bool
    {
        return isset($this->staticRoutes[$method][$path]);
    }
public function issetStaticRoute(string $method, string $path): bool
    {
        return isset($this->staticRoutes[$method][$path]);
    }
Determine if a static route exists.

@param string $method The request method
@param string $path   The path

@return bool