$layout->hasMethod()
Checks if the object has a registered custom method
$layout->hasMethod(string $method): boolParameters
| Name | Type | Default | 
|---|---|---|
| $methodrequired | string | no default value | 
Return type
bool
This method modifies the existing $layout object it is applied to and returns it again.