def update_aliases(self):
        """Get aliases information from room state

        Return True if the aliases changed, False if not
        """
        try:
            response = self.client.api.get_room_state(self.room_id)
            for chunk in response:
                if "content" in chunk and chunk["content"] in "aliases":
                    if chunk["content"]["aliases"] != self.aliases:
                        self.aliases = chunk["content"]["aliases"]
                        return True
                    else:
                        return False
        except MatrixRequestError:
            return False
dataset/ETHPy150Open matrix-org/matrix-python-sdk/matrix_client/client.py/Room.update_aliases/swapped operands of `in`