wireMethodExists() function  
Does the given class have the given method?
ProcessWire namespace aware version of PHP’s method_exists() function
If given a class name that does not include a namespace, the \ProcessWire namespace is assumed.
Please note this method is and thus not intended to be called directly.
Internal usage
// basic internal usage
$bool = wireMethodExists  (string $className, string $method);
// internal usage with all arguments
$bool = wireMethodExists  (string $className, string $method, bool $hookable = false);Arguments
| Name | Type(s) | Description | 
|---|---|---|
| $className | string | Class name or object | 
| $method | string | Method name | 
| $hookable(optional) | bool | Also return true if "method" exists in a hookable format "___method"? Default:false 3.0.204+ | 
Return value
bool
Functions methods and properties
API reference based on ProcessWire core version 3.0.252