code: def check_version(library, min_version):
      """Check minimum library version required
  
      Parameters
      ----------
      library : str
          The library name to import. Must have a ``__version__`` property.
      min_version : str
          The minimum version string. Anything that matches
          ``'(\\d+ | [a-z]+ | \\.)'``
  
      Returns
      -------
      ok : bool
          True if the library exists with at least the specified version.
  
      Adapted from MNE-Python: http://github.com/mne-tools/mne-python
      """
      ok = True
      try:
          library = __import__(library)
      except ImportError:
          ok = False
      else:
          this_version = LooseVersion(library.__version__)
          if this_version < min_version:
              ok = False
      return ok
  
label_desc: Use image node_id 1 for calling a global function with example usage: check_version(library, min_version) and returns: ok