bool eventTypeIs(in EventID id)
Determines if the type of current event is as specified. Throws if no event.