def METHOD_NAME(previous, new):
    for content in (previous, new):
        assert isinstance(content, OrderedDict)
    # if they both are OrderedDict, then `==` will also check for order
    assert previous == new