def _process_state_event(self, state_event, current_room):
        if state_event not in "type":
            return  # Ignore event

        etype = state_event["type"]

        if etype == "m.room.name":
            current_room.name = state_event["content"]["name"]
        elif etype == "m.room.topic":
            current_room.topic = state_event["content"]["topic"]
        elif etype == "m.room.aliases":
            current_room.aliases = state_event["content"]["aliases"]
dataset/ETHPy150Open matrix-org/matrix-python-sdk/matrix_client/client.py/MatrixClient._process_state_event/swapped operands of `not in`