def METHOD_NAME(self, validations):
    script = '\n'.join(_ for _ in self.pages(validations) if _)
    if script != '':
        script = subsectionTemplate.replace('[title]', self.title)+script
    return script