code: def toXML(self, writer, ttFont):
      writer.simpletag("version", value=self.version)
      writer.newline()
      for subtable in self.kernTables:
          subtable.toXML(writer, ttFont)
  
imports: from fontTools.ttLib import getSearchRange
  from fontTools.misc.textTools import safeEval, readHex
  from fontTools.misc.fixedTools import fixedToFloat, floatToFixed
  from .None import DefaultTable
  import struct
  import sys
  import array
  import logging
label_desc: Use image node_id 4 for calling the table__k_e_r_n obj's underlying member method code with example usage: obj.toXML(writer, ttFont) without return types