presto-main/src/main/java/io/prestosql/operator/ExplainAnalyzeOperator.java/ExplainAnalyzeOperator/isFinished
class ExplainAnalyzeOperator:    @Override
    public boolean isFinished()
    {
        return finishing && outputConsumed;
    }