lib/Doctrine/DBAL/Schema/Table.php
public function hasIndex($indexName)
    {
        $indexName = $this->normalizeIdentifier($indexName);

        return isset($this->_indexes[$indexName]);
    }
public function hasIndex($indexName)
    {
        $indexName = $this->normalizeIdentifier($indexName);

        return isset($this->_indexes[$indexName]);
    }
public function hasIndex ( $ indexName ) { $ indexName = $ this -> normalizeIdentifier ( $ indexName ) ; return isset ( $ this -> _indexes [ $ indexName ] ) ; }
Returns whether this table has an Index with the given name.

@param string $indexName The index name.

@return bool
Returns whether this table has an Index with the given name .