<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_framework_listener(self, listener):
 """ Unregisters a framework stop listener :param listener: The framework listener to unregister :return: True if the listener has been unregistered, else False """

        with self.__fw_lock:
            try:
                self.__fw_listeners.remove(listener)
                return True
            except ValueError:
                return False