def checkResponseCorrectnessFromNodes(receivedMsgs: Iterable, reqId: int, fValue: int) -> bool:
    '\n    the client must get at least :math:`f+1` responses\n    '
    msgs = [(msg[f.RESULT.nm][f.REQ_ID.nm], msg[f.RESULT.nm][f.IDENTIFIER.nm]) for msg in getRepliesFromClientInbox(receivedMsgs, reqId)]
    groupedMsgs = {}
    for tpl in msgs:
        groupedMsgs[tpl] = (groupedMsgs.get(tpl, 0) + 1)
    assert (max(groupedMsgs.values()) >= (fValue + 1))
the client must get at least :math:`f+1` responses
def checkResponseCorrectnessFromNodes(receivedMsgs: Iterable, reqId: int, fValue: int) -> bool:
    '\n    \n    '
    msgs = [(msg[f.RESULT.nm][f.REQ_ID.nm], msg[f.RESULT.nm][f.IDENTIFIER.nm]) for msg in getRepliesFromClientInbox(receivedMsgs, reqId)]
    groupedMsgs = {}
    for tpl in msgs:
        groupedMsgs[tpl] = (groupedMsgs.get(tpl, 0) + 1)
    assert (max(groupedMsgs.values()) >= (fValue + 1))