presto-main/src/main/java/io/prestosql/operator/exchange/LocalExchangeSinkOperator.java/LocalExchangeSinkOperator/needsInput
class LocalExchangeSinkOperator:    @Override
    public boolean needsInput()
    {
        return !isFinished() && isBlocked().isDone();
    }