This code lets you disable nodes in the GUI but they will render fine on the farm. It is especially useful to disable several heavy nodes all at once, like motionBlur or ZDefocus.
I wrote this node while learning Python because my former company had this utility and I used it a lot. Other companies didn't have it so I wrote it myself to be able to use it whenever I needed it.
Expand Disable in GUI