Check if the provided handler has the specified hook.
The handler to check.
The hook name to check.
true if the handler has the specified hook, otherwise false.
true
false
Check if the provided handler has the specified hook.