If there is no strong reason to have this check inside this method I would rather have it outside - so then method setupSectionLinks stays predictable  - it "setup section links" instead of "setup section links if...".