Is there anyway to check if node.on(...) of a node is set?

Is there anyway to check if

node.on(...);

of a node is set, just like “button.clickEvents” in cc.Button?

Try this:

node.hasEventListener(...)