code: def reset(self):
          
          # Need to use self.server_map, in case no Servers are left running.
          for member_id in self.server_map:
              host = self.member_id_to_host(member_id)
              server_id = self._servers.host_to_server_id(host)
              # Reset each member.
              self._servers.command(server_id, 'reset')
          # Wait for all members to have a state of 1, 2, or 7.
          # Note that this also waits for a primary to become available.
          self.waiting_member_state()
          # Wait for Server states to match the config from the primary.
          self.waiting_config_state()
          return self.info()
docs: Ensure all members are running and available.