Whether any mark lies on or below path.
path
bool affectsPath(Path path) => forest.rootMostValue(path) != null || !forest.subtree(path).isEmpty;