def METHOD_NAME(node_list, node_idx, input_names, expected_result):
    out = has_multiple_inputs(node_list, node_idx, input_names, OPT_OUT_OP)
    assert out == expected_result, "Output mismatch: expecting checking %s to be %s but got %s." % (
        node_list[node_idx]["op"],
        str(expected_result),
        str(out),
    )