subTreeCount, and simplify to `return $node->subTreeCount(...) === 0`.