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