code: def _all_indexes_same(indexes):
      
      first = indexes[0]
      for index in indexes[1:]:
          if not first.equals(index):
              return False
      return True
docs: Determine if all indexes contain the same elements.
  
      Parameters
      ----------
      indexes : list of Index objects
  
      Returns
      -------
      bool
          True if all indexes contain the same elements, False otherwise.