Checks whether node is of type TreeNode.
node
Checks for: parent, childrenStore and value defined on node.
Checks whether
node
is of type TreeNode.Checks for: parent, childrenStore and value defined on
node
.