public function getHasFooter() { return $this->getShowFooter() && ($this->_footerTemplate !== null || $this->getFooterRenderer() !== ''); }