private function hasHeader()
    {
        if ($this->min === 0 || $this->isAddButtonPositionHeader()) {
            return true;
        }

        foreach ($this->columns as $column) {
            /* @var $column BaseColumn */
            if ($column->title) {
                return true;
            }
        }

        return false;
    }
private function hasHeader()
    {
        if ($this->min === 0 || $this->isAddButtonPositionHeader()) {
            return true;
        }

        foreach ($this->columns as $column) {
            /* @var $column BaseColumn */
            if ($column->title) {
                return true;
            }
        }

        return false;
    }
private function hasHeader ( ) { if ( $ this -> min === 0 || $ this -> isAddButtonPositionHeader ( ) ) { return true ; } foreach ( $ this -> columns as $ column ) { /* @var $column BaseColumn */ if ( $ column -> title ) { return true ; } } return false ; }
Check that at least one column has a header.

@return bool
Check that at least one column has a header .