src/Valkyrja/Routing/NativeRouter.php
protected function isValidMethod(Route $route, string $method): bool
    {
        return \in_array($method, $route->getRequestMethods(), true);
    }
protected function isValidMethod(Route $route, string $method): bool
    {
        return \in_array($method, $route->getRequestMethods(), true);
    }
@param Route  $route  The route
@param string $method The method

@return bool