presto-main/src/main/java/io/prestosql/sql/planner/iterative/Rule.java/Result/isEmpty
class Result:        public boolean isEmpty()
        {
            return !transformedPlan.isPresent();
        }