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