code: def fontInfoOpenTypeOS2WidthClassValidator(value):
      """
      Version 2+.
      """
      if not isinstance(value, int):
          return False
      if value < 1:
          return False
      if value > 9:
          return False
      return True
  
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 12 for calling a global function with example usage: fontInfoOpenTypeOS2WidthClassValidator(value) and returns: True, False, False, False