docs: def fetch_states(self, elections):
          """
          Returns the unique divisions for all elections on an election day.
          """
          states = []
  
          for election in elections:
              if election.division.level.name == DivisionLevel.DISTRICT:
                  division = election.division.parent
              else:
                  division = election.division
  
              states.append(division)
  
          return sorted(list(set(states)), key=lambda s: s.label)