Check if propagation is stopped before invoking a listener.