checkAddNode(NodeState parentState,
Name nodeName,
Name nodeTypeName,
int options)
Checks if adding a child node called nodeName of node type
nodeTypeName to the given parent node is allowed in the
current context.