protected function hasHeader()
    {
        $has_header = false;

        foreach ($this->columns as $column) {
            if ($column->hasHeader()) {
                $has_header = true;
                break;
            }
        }

        return $has_header;
    }