presto-main/src/main/java/io/prestosql/operator/AggregationOperator.java/AggregationOperator/isFinished
class AggregationOperator:    @Override
    public boolean isFinished()
    {
        return state == State.FINISHED;
    }