Assert

You can use this node to test the validity of a Tcl expression. If the expression resolves to false, this node raises an error.

The Assert node does not alter the input image in any way.

For more information on Tcl expressions, see Expressions or select Help > Documentation > Knob Math Expressions in Nuke.