presto-main/src/main/java/io/prestosql/sql/planner/optimizations/PlanNodeSearcher.java/PlanNodeSearcher/matches
class PlanNodeSearcher:    public boolean matches()
    {
        return findFirst().isPresent();
    }