Returns True if there are callbacks attached to the specified
        event name.

        Returns False if not

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