def check_request_is_not_returned_to_nodes(txnPoolNodeSet, request):
    instances = range(getNoInstances(len(txnPoolNodeSet)))
    for (node, inst_id) in itertools.product(txnPoolNodeSet, instances):
        checkRequestNotReturnedToNode(node, request.key, inst_id)
def check_request_is_not_returned_to_nodes(txnPoolNodeSet, request):
    instances = range(getNoInstances(len(txnPoolNodeSet)))
    for (node, inst_id) in itertools.product(txnPoolNodeSet, instances):
        checkRequestNotReturnedToNode(node, request.key, inst_id)