Whether path is kept.
path
bool shouldKeep(Path path) { final bool? shouldPrune = forest.leafMostValue(path); return shouldPrune != null && !shouldPrune; }