<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def has_callbacks(self, name):
 """ Returns True if there are callbacks attached to the specified event name. Returns False if not """

        r = self.event_listeners.get(name)
        if not r:
            return False
        return len(r) > 0