This is only called in editor, yes.
This is only to support the icons in the hierarchy to be highlighted when a GraphOwner “state” change to enabled/disabled.
You can however disable this feature (and thus save the spike caused in the editor due to this), by disabling the option called “Highlight Active In Hierarchy” under the “Prefs” dropdown menu of the NodeCanvas editor toolbar.