check if event