isPrunable method

bool isPrunable()

Implementation

bool isPrunable() {
  return !(hasChildren() || hasItems());
}