def ignore_event(self, event_id):
for ignore in self.ignore:<EOL><INDENT>if (ignore == event_id or<EOL>(ignore.endswith('<STR_LIT:*>') and event_id.startswith(ignore[:-<NUM_LIT:1>]))):<EOL><INDENT>return True<EOL><DEDENT><DEDENT>return False<EOL>
Verify event id against list of events to ignore.

        >>> e = EventHandling(ignore=[
        ...   'test1_00',
        ...   'test2_*',
        ... ])
        >>> e.ignore_event('test1_00')
        True
        >>> e.ignore_event('test2_00')
        True
        >>> e.ignore_event('test3_00')
        False