isParent method

bool isParent()

Implementation

bool isParent() {
  return nodeId == parent;
}