nuke.canCreateNode

nuke.canCreateNode(name) True if the node can be created, or False if not.

This function can be used to determine whether it is possible to create a node with the specified node class.

Parameters:

name – Node name.

Returns:

True if the node can be created, or False if not.