code: def remove_framework_listener(self, listener):
          
          with self.__fw_lock:
              try:
                  self.__fw_listeners.remove(listener)
                  return True
              except ValueError:
                  return False
docs: Unregisters a framework stop listener
  
          :param listener: The framework listener to unregister
          :return: True if the listener has been unregistered, else False