menu 8 Menu Overview $site->hasMethod() Checks if the object has a registered method $site->hasMethod(string $method): bool Parameters Name Type Default Description $method string – Return type bool Source code kirby/src/Cms/HasMethods.php#L53