code: def Object_collect_device_varidxes(self, varidxes):
      adder = partial(_Device_recordVarIdx, s=varidxes)
      _visit(self, adder)
  
imports: from fontTools.misc.roundTools import noRound, otRound
  from fontTools.misc.intTools import bit_count
  from fontTools.ttLib.tables import otTables
  from fontTools.varLib.models import supportScalar
  from fontTools.varLib.builder import buildVarRegionList, buildVarStore, buildVarRegion, buildVarData
  from functools import partial
  from collections import defaultdict
  from heapq import heappush, heappop
label_desc: Use image node_id 9 for calling a global function with example usage: Object_collect_device_varidxes(varidxes) without return types