def remove_listener(self, registration_id):
try:<EOL><INDENT>self._listeners.pop(registration_id)<EOL>return True<EOL><DEDENT>except KeyError:<EOL><INDENT>return False<EOL><DEDENT>
Removes a lifecycle listener.

:param registration_id: (str), the id of the listener to be removed.
:return: (bool), ``true`` if the listener is removed successfully, ``false`` otherwise.