code: def _get_section_name(cls, parser):
          
          for section_name in cls.POSSIBLE_SECTION_NAMES:
              if parser.has_section(section_name):
                  return section_name
  
          return None
docs: Parse options from relevant section.