Not in general. This can only be done if you yourself are monitoring all event listeners in your code. The easiest way is to use the wrapper function for all event listener assignments. I would not be surprised if one of the large libraries does this for you.
source share