<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def off(self, name, callback, once=False):
 """ Removes callback to the event specified by name """


        if name not in self.event_listeners:
            return

        self.event_listeners[name].remove((callback, once))