def is_instrumented(self, key, search=False):
        if search:
            return key in self
        else:
            return key in self.local_attrs
dataset/ETHPy150Open RoseOu/flasky/venv/lib/python2.7/site-packages/sqlalchemy/orm/instrumentation.py/ClassManager.is_instrumented/original