added utility to check for listeners

- per event or globally