$collection->hasMethod() Checks if the object has a registered method kirby/src/Cms/HasMethods.php#L53 $collection->hasMethod(string $method): bool Parameters Name Type Default $method * string – Return type bool Parent class Kirby\Cms\Collection