public function hasButton()
    {
        if (!empty($this->getButtonLabel())) {
            return true;
        }

        foreach ($this->tabs as $tab) {
            if (!empty($tab->getButtonLabel())) {
                return true;
            }
        }

        return false;
    }