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