public function hasColumn($columnId)
    {
        foreach ($this->lazyAddColumn as $column) {
            if ($column['column']->getId() == $columnId) {
                return true;
            }
        }

        return $this->columns->hasColumnById($columnId);
    }
public function hasColumn($columnId)
    {
        foreach ($this->lazyAddColumn as $column) {
            if ($column['column']->getId() == $columnId) {
                return true;
            }
        }

        return $this->columns->hasColumnById($columnId);
    }
public function hasColumn ( $ columnId ) { foreach ( $ this -> lazyAddColumn as $ column ) { if ( $ column [ 'column' ] -> getId ( ) == $ columnId ) { return true ; } } return $ this -> columns -> hasColumnById ( $ columnId ) ; }
Returns true if column exists in columns and lazyAddColumn properties.

@param $columnId

@return bool
Returns true if column exists in columns and lazyAddColumn properties .