code: def get_client_index_from_id(self, client_id):
          
          for index, client in enumerate(self.clients):
              if id(client) == client_id:
                  return index
docs: Return client index from id