code: def genericTypeValidator(value, typ):
      """
      Generic. (Added at version 2.)
      """
      return isinstance(value, typ)
  
imports: import calendar
  from io import open
  import fs.base
  import fs.osfs
  from collections.abc import Mapping
  from fontTools.ufoLib.utils import numberTypes
label_desc: Use image node_id 2 for calling a global function with example usage: genericTypeValidator(value, typ) and returns: isinstance