$requestMethod = strtoupper(...);

return in_array($requestMethod, ...)