code: def buildFeatureTableSubstitutionRecord(
      featureIndex, lookupListIndices
  ):
      """Build a FeatureTableSubstitutionRecord."""
      ftsr = ot.FeatureTableSubstitutionRecord()
      ftsr.FeatureIndex = featureIndex
      ftsr.Feature = ot.Feature()
      ftsr.Feature.LookupListIndex = lookupListIndices
      ftsr.Feature.LookupCount = len(lookupListIndices)
      return ftsr
  
imports: from fontTools.misc.dictTools import hashdict
  from fontTools.misc.intTools import bit_count
  from fontTools.ttLib import newTable
  from fontTools.ttLib.tables import otTables
  from fontTools.ttLib.ttVisitor import TTVisitor
  from fontTools.otlLib.builder import buildLookup, buildSingleSubstSubtable
  from collections import OrderedDict
  from .errors import VarLibError, VarLibValidationError
label_desc: Use image node_id 16 for calling a global function with example usage: buildFeatureTableSubstitutionRecord(featureIndex, lookupListIndices) and returns: ftsr