checks if event exists