CheckNodeName

Check node names before it is added to the dependency graph