def has_index(self, column):
        if column.primary_key or column.foreign_keys:
            return True
        table = column.table
        for index in table.indexes:
            if len(index.columns) == 1 and column.name in index.columns:
                return True
        return False
Retrieves a CDN account with the specified account ID.
dataset/ETHPy150Open kvesteri/wtforms-alchemy/wtforms_alchemy/generator.py/FormGenerator.has_index--crossover with--dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/managers/cdn.py/CDNManager.get_account