$hooks→isMethodHooked()
Similar to isHooked() method but also checks parent classes for the hooked method as well
This method is designed for fast determinations of whether something is hooked
Usage
$bool = $hooks->isMethodHooked($class, string $method);
Arguments
API reference based on ProcessWire core version 3.0.251