_isRequestMethod

Check if the request method is the given one

Parameters
string $method

The request method

#
Returns
bool