<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unregister_listener(self, address, func):
 """Removes a listener function for a given address Remove the listener for the given address. Returns true if the listener was found and removed, false otherwise """

        listeners = self.address_listeners[address]
        if listeners is None:
            return False

        if func in listeners:
            listeners.remove(func)
            return True

        return False