presto-main/src/main/java/io/prestosql/operator/FilterAndProjectOperator.java/FilterAndProjectOperator/needsInput
class FilterAndProjectOperator:    @Override
    public boolean needsInput()
    {
        return pageBuffer.isEmpty() && !pageBuffer.isFinished();
    }