code: def remove_bundle_listener(self, listener):
          
          with self.__bnd_lock:
              if listener not in self.__bnd_listeners:
                  return False
  
              self.__bnd_listeners.remove(listener)
              return True
docs: Unregisters a bundle listener
  
          :param listener: The bundle listener to unregister
          :return: True if the listener has been unregistered, else False