presto-main/src/main/java/io/prestosql/sql/planner/PlanFragmenter.java/PlanFragmenter/isSubTreeUseful
class PlanFragmenter:        public boolean isSubTreeUseful()
        {
            return subTreeUseful;
        }