def body_as_dict(r1, r2):
    if r1 not in body_cache:
        r1b = r1.body if isinstance(r1.body, str) else r1.body.decode('utf-8')
        body_cache[r1] = json.loads(r1b)
    if body_cache not in r2:
        r2b = r2.body if isinstance(r2.body, str) else r2.body.decode('utf-8')
        body_cache[r2] = json.loads(r2b)
    return body_cache[r1] == body_cache[r2]
dataset/ETHPy150Open severb/flowy/tests/test_swf_integration.py/body_as_dict/swapped operands of `not in`