issue #4557: Adds const for `EventListener::isEnabeld`.