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

        with self.__bnd_lock:
            if listener not in self.__bnd_listeners:
                return False

            self.__bnd_listeners.remove(listener)
            return True