def insert_section(self, section_name, section):
    if (section.heading != section_name):
        section.heading = section_name
    self.sections[section_name] = section
def insert_section(self, section_name, section):
    if (section.heading != section_name):
        section.heading = section_name
    self.sections[section_name] = section