True if a footer is defined for this section.
485124
def _has_definition(self):
        """"""
        footerReference = self._sectPr.get_footerReference(self._hdrftr_index)
        return False if footerReference is None else True
73892
def section(self, section):
        
        # check if the named section exists
        if self.config.has_section(section):
            return (True, self.config.items(section))
        return (False, 'Section: ' + section + ' does not exist')
1146762
public function hasPage($index, $is_recursive = true)
    {
        if (isset($this->pages[$index])) {
            return true;
        }

        if ($is_recursive) {
            foreach ($this->pages as $page) {
                /**@var $page Page */
                if ($page->hasChild($index, $is_recursive)) {
                    return true;
                }
            }
        }

        return false;
    }
568011
function (cb) {

                    let footerActions = req.linz.model.linz.formtools.overview.footerActions;

                    if (!footerActions.length) {
                        return cb();
                    }

                    parseDisabledProperties(req.linz.record, footerActions)
                        .then((parsedActions) => {

                            footerActions = parsedActions;

                            return cb();

                        })
                        .catch(cb);

                }
68474
public void setFooter(HasJqmFooter footer) {
        removeFooter();
        this.footer = footer;
        if (this.footer == null) return;

        addLogical(footer.getFooterStage());
        getElement().appendChild(footer.getJqmFooter().getElement());
    }
1374832
protected function isParentArchived()
    {
        if ($parentID = $this->ParentID) {
            /** @var SiteTree $parentPage */
            $parentPage = Versioned::get_latest_version(self::class, $parentID);
            if (!$parentPage || !$parentPage->isOnDraft()) {
                return true;
            }
        }
        return false;
    }
227085
function() {
            cfg = this.config.get('pluginsConfig.localized-footer'), _this = this;

            try {
                fs.statSync(this.resolve(cfg.filename));
                hasFooterFile = true;
            } catch (e) {
                hasFooterFile = false;
                return;
            }

            deprecationWarning(this);

            this.readFileAsString(cfg.filename)
                .then(function(data) {
                    return _this.renderBlock('markdown', data);
                }, this.log.error)
                .then(function(html) {
                    footerString = html;
                }, this.log.error);
        }
864858
def _prior_headerfooter(self):
        """"""
        preceding_sectPr = self._sectPr.preceding_sectPr
        return (
            None if preceding_sectPr is None
            else _Header(preceding_sectPr, self._document_part, self._hdrftr_index)
        )
951524
public function isFooterShown($isFirst = false, $isMiddle = false, $isLast = false)
    {
        return $this->isShown('Footer', $isFirst, $isMiddle, $isLast);
    }
1118974
private boolean isInSubsite(List<String> subSitePaths, String path) {

        boolean result = false;
        for (String subSite : subSitePaths) {
            if (path.startsWith(subSite)) {
                result = true;
                break;
            }
        }
        return result;
    }
580682
@Override
	public boolean hasNext() {
		if (!isForward) {
			currentRec = currentRec - pointerSize;
			isForward = true;
		}
		return currentRec > 0 || blk.number() > 0;
	}
867971
def is_text_in_section?(section, content, flag=true)
      within("#{section}") do
        if flag
          assert page.has_content?("#{content}"), "Error: #{content} not found in #{section} !"
        else
          assert !page.has_content?("#{content}"), "Error: #{content} found in #{section} !"
        end
      end
    end
773070
@Override
    public boolean hasNext()
    {
        if (checkOnFetchSize())
        {
            onCheckRelation();
            if (!checkOnEmptyResult())
            {
                scrollComplete = true;
                return false;
            }
            return true;
        }
        return false;
    }
523732
protected boolean isNetworkSection(int networkPrefixLength, boolean withPrefixLength) {
		int segmentCount = getSegmentCount();
		if(segmentCount == 0) {
			return true;
		}
		int bitsPerSegment = getBitsPerSegment();
		int prefixedSegmentIndex = getNetworkSegmentIndex(networkPrefixLength, getBytesPerSegment(), bitsPerSegment);
		if(prefixedSegmentIndex + 1 < segmentCount) {
			return false; //not the right number of segments
		}
		//the segment count matches, now compare the prefixed segment
		int segPrefLength = getPrefixedSegmentPrefixLength(bitsPerSegment, networkPrefixLength, prefixedSegmentIndex);
		return !getSegment(segmentCount - 1).isNetworkChangedByPrefix(segPrefLength, withPrefixLength);
	}
472372
public boolean containsNonZeroHosts(IPAddressSection other) {
		if(!other.isPrefixed()) {
			return contains(other);
		}
		int otherPrefixLength = other.getNetworkPrefixLength();
		if(otherPrefixLength  == other.getBitCount()) {
			return contains(other);
		}
		return containsNonZeroHostsImpl(other, otherPrefixLength);
	}
767872
def visible?(page)
      # outer
      if outer > 0
        return true if outer >= page
        return true if (pages - outer) < page
      end

      # current page
      return true if current_page == page

      # inner
      return true if inner_range.include? page

      false
    end
70735
def needs_pagination(self):
        """"""
        if self.objects_per_page == 0:
            return False
        if len(self.items) > self.objects_per_page \
                or len(self.get_pages[0]) > self.objects_per_page:
            return True
        return False