closed #4557: Adds `EventListener::setEnabled/isEnabled`.