

def column_exists(self, tablename, column_name):
    info = self.execute('PRAGMA table_info(tx_data)')
    return any(((row[1] == 'block_height') for row in info))

dataset/ETHPy150Open chromaway/ngcccbase/coloredcoinlib/store.py DataStore.column_exists/original