check if event is published