code: def get_index(self, field_name, catalog):
          
          index = catalog.Indexes.get(field_name, None)
          if not index and field_name == "Title":
              # Legacy
              return self.get_index("sortable_title", catalog)
          return index
docs: Returns the index of the catalog for the given field_name, if any