hasParent method

bool hasParent()

Implementation

bool hasParent() {
  return parent!=null;
}