public boolean getReceived() {
        ReceivedLock.lock();
        try {
            if (!ReceivedDecided) {
                ReceivedCond.await();
            }
        } catch (InterruptedException ex1) {
            ex1.printStackTrace();
        } finally {
            ReceivedLock.unlock();
        }
        return Received;
    }