Search for a given string in event types
has_event_type(events, str)
events
list of events
str
string to search
boolean