Check if a event manager is passed or not