def has_identity(object):
    state = attributes.instance_state(object)
    return state.has_identity
Traverse up the heap, ensuring the invariant is maintained.
dataset/ETHPy150Open goFrendiAsgard/kokoropy/kokoropy/packages/sqlalchemy/orm/util.py/has_identity--crossover with--dataset/ETHPy150Open steveniemitz/scales/scales/loadbalancer/heap.py/Heap.FixUp