code: def update_aliases(self):
          
          try:
              response = self.client.api.get_room_state(self.room_id)
              for chunk in response:
                  if "content" in chunk and "aliases" in chunk["content"]:
                      if chunk["content"]["aliases"] != self.aliases:
                          self.aliases = chunk["content"]["aliases"]
                          return True
                      else:
                          return False
          except MatrixRequestError:
              return False
docs: Get aliases information from room state.
  
          Returns:
              boolean: True if the aliases changed, False if not