

def has_state(self, instance):
    return hasattr(instance, self.STATE_ATTR)

dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/instrumentation.py ClassManager.has_state/original