<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_listener(self, registration_id):
 """ Stops receiving messages for the given message listener. If the given listener already removed, this method does nothing. :param registration_id: (str), registration id of the listener to be removed. :return: (bool), ``true`` if the listener is removed, ``false`` otherwise. """

        return self._stop_listening(registration_id,
                                    lambda i: topic_remove_message_listener_codec.encode_request(self.name, i))