def accepts_messages(self):
        return self.event_types is None or "message" in self.event_types
dataset/ETHPy150Open zulip/zulip/zerver/lib/event_queue.py/ClientDescriptor.accepts_messages/original