Check if event has handlers