Enum member isEvent

Detect whether T is an instance of the Event struct.

enum isEvent(T) = __traits(isSame, TemplateOf!T, Event);