

def __contains__(self, key):
    svalue = self.execute('SELECT value FROM {0} WHERE key = ?'.format(self.tablename), (key,)).fetchone()
    return (svalue is not None)

dataset/ETHPy150Open chromaway/ngcccbase/coloredcoinlib/store.py PersistentDictStore.__contains__/original