public function hasColumn($name)
    {
        $name = $this->filterInputColumn($name);

        return in_array($name, $this->getFields());
    }
public function hasColumn($name)
    {
        $name = $this->filterInputColumn($name);

        return in_array($name, $this->getFields());
    }
public function hasColumn ( $ name ) { $ name = $ this -> filterInputColumn ( $ name ) ; return in_array ( $ name , $ this -> getFields ( ) ) ; }
Check if column name exists

@param string $name
@return bool
Check if column name exists