code: def sklearn_install_check():
      try:
          from sklearnex import patch_sklearn, unpatch_sklearn
  
          sklearnex_available = True
      except ImportError:
          sklearnex_available = False
      return sklearnex_available
  
file_path: BigDL/python/chronos/src/bigdl/chronos/detector/anomaly/util.py
imports: import numpy
  from logging import warning
label_desc: Use image node_id 1 for calling a global function with example usage: sklearn_install_check() and returns: sklearnex_available