def add_new_section(section_list, new_section):
    """ Checking if a section is already in the list. """
    existing_section = False
    for section in section_list:
        if section.__str__() == new_section.__str__():
            existing_section = True
    if existing_section == False:
        section_list.append(new_section)
    return section_list
