def METHOD_NAME(self):
    r"""Gives the events that are supported by the extension. This is done
    by introspecting which `event_[event name]` functions exist.
    Returns
    -------
    list
        A list of supported events.
    """
    events = []
    for event in dir(self):
        if event.startswith(u'event_'):
            events.append(event[6:])
            oslogger.debug(
                u'extension %s supports %s' % (self.name(), event)
            )
    return events