code: def xgboost_installed():
      """
      Checks that *XGBoost* is available.
      """
      try:
          import xgboost
      except ImportError:
          return False
      from xgboost.core import _LIB
  
      try:
          _LIB.XGBoosterDumpModelEx
      except AttributeError:
          # The version is not recent enough even though it is version 0.6.
          # You need to install xgboost from github and not from pypi.
          return False
      from xgboost import __version__
  
      vers = parse(__version__)
      allowed_min = Version("0.90")
      if vers < allowed_min:
          warnings.warn(
              "The converter works for xgboost >= 0.9. Different versions might not."
          )
      return True
  
imports: from packaging.version import Version, parse
  from types import ModuleType
  import numpy
  import torch
  import os
  import warnings
  import shutil
  from hummingbird.ml.exceptions import ConstantError
label_desc: Use image node_id 13 for calling a global function with example usage: xgboost_installed() and returns: True, False, False