presto-main/src/main/java/io/prestosql/execution/buffer/BroadcastOutputBuffer.java/BroadcastOutputBuffer/isFinished
class BroadcastOutputBuffer:    @Override
    public boolean isFinished()
    {
        return state.get() == FINISHED;
    }