added has_event() method to allow easier testing if events got fired