code: def remove_listener(self, registration_id):
          
          try:
              self.listeners.pop(registration_id)
              return True
          except KeyError:
              return False
docs: Removes the specified membership listener.
  
          :param registration_id: (str), registration id of the listener to be deleted.
          :return: (bool), if the registration is removed, ``false`` otherwise.