code: def kick_user(self, user_id, reason=""):
          
          try:
              self.client.api.kick_user(self.room_id, user_id)
              return True
          except MatrixRequestError:
              return False
docs: Kick a user from this room.
  
  
          Args:
              user_id (str): The matrix user id of a user.
              reason  (str): A reason for kicking the user.
  
          Returns:
              boolean: Whether user was kicked.