code: def buildDeltaSetIndexMap(varIdxes):
      mapping = list(varIdxes)
      if all(i == v for i, v in enumerate(mapping)):
          return None
      self = ot.DeltaSetIndexMap()
      self.mapping = mapping
      self.Format = 1 if len(mapping) > 0xFFFF else 0
      return self
  
file_path: catboost/contrib/python/fonttools/fontTools/varLib/builder.py
imports: from fontTools import ttLib
  from fontTools.ttLib.tables import otTables
label_desc: Use image node_id 11 for calling a global function with example usage: buildDeltaSetIndexMap(varIdxes) and returns: self, None