def requestReturnedToNode(node: TestNode, key: str, instId: int):
    params = getAllArgs(node, node.processOrdered)
    recvdOrderedReqs = [(p['ordered'].instId, p['ordered'].valid_reqIdr[0]) for p in params]
    expected = (instId, key)
    return (expected in recvdOrderedReqs)
def requestReturnedToNode(node: TestNode, key: str, instId: int):
    params = getAllArgs(node, node.processOrdered)
    recvdOrderedReqs = [(p['ordered'].instId, p['ordered'].valid_reqIdr[0]) for p in params]
    expected = (instId, key)
    return (expected in recvdOrderedReqs)