How disable/enable an Output File Node from python?

I have the next composition that I render from Python. How can I disable/enable the rendering of a specific node?

Thank you.

You can set the mute flag of the Node to True.
import bpy

Alternatively you can just call the bpy.ops.node.mute_toggle() operator within the compositor.