def useIdForUnhashableObjects(val):
    try:
        if typesUsedByIDMemo not in val.__class__:
            print "Using ", val, " as a StableHash value, but keying on instance ID"
            typesUsedByIDMemo.add(val.__class__)
    except AttributeError:
        pass
    return str(id(val))
dataset/ETHPy150Open ufora/ufora/ufora/core/math/StableHashFunction.py/useIdForUnhashableObjects/swapped operands of `not in`