Order of nodes execution / Disable nodes on load

I’m trying to make a script to disable part of the code on file opening to avoid its execution.

  • Is there a better way how to do it?
  • In what order are (unconnected) nodes executed?