hasChildren method

bool hasChildren()

Implementation

bool hasChildren() {
  return firstChild != null;
}