presto-main/src/main/java/io/prestosql/operator/WindowOperator.java/WindowOperator/isFinished
class WindowOperator:    @Override
    public boolean isFinished()
    {
        return outputPages.isFinished();
    }