code: def assert_lightgbm_installed():
      assert (
          lightgbm_installed()
      ), "To convert LightGBM models you need to install LightGBM (or `python -m pip install hummingbird-ml[extra]`)."
  
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 12 for calling a global function with example usage: assert_lightgbm_installed() without return types