code: def remove_message_listener(self, name, fn):
          
          name = str(name)
          if name in self._message_listeners:
              if fn in self._message_listeners[name]:
                  self._message_listeners[name].remove(fn)
                  if len(self._message_listeners[name]) == 0:
                      del self._message_listeners[name]
docs: Removes a message listener (that was previously added using :py:func:`add_message_listener`).
  
          See :ref:`mavlink_messages` for more information.
  
          :param String name: The name of the message for which the listener is to be removed (or '*' to remove an 'all messages' observer).
          :param fn: The listener callback function to remove.