public function hasColumn($name, $normalize = true)
    {
        if ($name instanceof ColumnMap) {
            $name = $name->getColumnName();
        } elseif ($normalize) {
            $name = ColumnMap::normalizeName($name);
        }

        return isset($this->columns[$name]);
    }
public function hasColumn($name, $normalize = true)
    {
        if ($name instanceof ColumnMap) {
            $name = $name->getColumnName();
        } elseif ($normalize) {
            $name = ColumnMap::normalizeName($name);
        }

        return isset($this->columns[$name]);
    }
public function hasColumn ( $ name , $ normalize = true ) { if ( $ name instanceof ColumnMap ) { $ name = $ name -> getColumnName ( ) ; } elseif ( $ normalize ) { $ name = ColumnMap :: normalizeName ( $ name ) ; } return isset ( $ this -> columns [ $ name ] ) ; }
Does this table contain the specified column?

@param mixed   $name      name of the column or ColumnMap instance
@param boolean $normalize Normalize the column name (if column name not like FIRST_NAME)

@return boolean True if the table contains the column.
Does this table contain the specified column?