code: def _check_freetype_version(ver):
      if ver is None:
          return True
  
      if isinstance(ver, str):
          ver = (ver, ver)
      ver = [parse_version(x) for x in ver]
      found = parse_version(ft2font.__freetype_version__)
  
      return ver[0] <= found <= ver[1]
  
imports: import contextlib
  import functools
  import inspect
  import os
  from platform import uname
  from pathlib import Path
  import shutil
  import string
  import sys
  import warnings
  from packaging.version import parse
  import matplotlib.style
  import matplotlib.units
  import matplotlib.testing
  from matplotlib import _pylab_helpers, cbook, ft2font, pyplot, ticker
  from .compare import comparable_formats, compare_images, make_test_filename
  from .exceptions import ImageComparisonFailure
label_desc: Use image node_id 2 for calling a global function with example usage: _check_freetype_version(ver) and returns: unknown, True