code: function nrOfChildren (node, nr) {
    return (node && (nr === undefined || nr === null)) || (node && nr === 0 && !node.children) || (node && node.children && node.children.length === nr)
  }
docs: #################### Node Identification Primitives