Whether data below path that is not kept should be pruned.
path
bool shouldPruneUnkeptDescendants(Path path) => forest.leafMostValue(path) ?? false;