def checkSufficientPrepareReqRecvd(replica: TestReplica, viewNo: int, ppSeqNo: int):
    key = (viewNo, ppSeqNo)
    assert (key in replica._ordering_service.prepares)
    assert (len(replica._ordering_service.prepares[key][1]) >= replica.quorums.prepare.value)
def checkSufficientPrepareReqRecvd(replica: TestReplica, viewNo: int, ppSeqNo: int):
    key = (viewNo, ppSeqNo)
    assert (key in replica._ordering_service.prepares)
    assert (len(replica._ordering_service.prepares[key][1]) >= replica.quorums.prepare.value)