presto-main/src/main/java/io/prestosql/operator/OperatorContext.java/OperatorContext/isWaitingForMemory
class OperatorContext:    public ListenableFuture<?> isWaitingForMemory()
    {
        return memoryFuture.get();
    }