according to the interface, ``$hook->getScopeName()`` returns an array, so this should be an ``in_array`` check