so it suppose to check if for example name of event is equal to some string ?