def any(self, event_type: str) -> bool:
    return any(((event_type in EVENTS.get(e, {})) for e in self.events))
def any(self, event_type: str) -> bool:
    return any(((event_type in EVENTS.get(e, {})) for e in self.events))