I think `self.pages.any? { |page| page.uses_relative_permalinks }` could use its own method.