def matches(self, arg):
        if not arg:
            return False

        return e_event_type(arg) == self.event_type
Check if the passed argument matches
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/matchers/event_parameters.py/EventType.matches