API Reference
nuke.
exists
Check for the existence of a named item. Function for backwards-compatibility with TCL.
s – Name of item.
True if exists, False otherwise.