$request->is() Checks if the given method name matches the name of the request method. kirby/src/Http/Request.php#L344 $request->is(string $method): bool Parameters Name Type Default $method * string – Return type bool Parent class Kirby\Http\Request