code: def is_patched_instance(instance: object) -> bool:
      """Returns True if the `instance` is patched with scikit-learn-intelex"""
      module = getattr(instance, "__module__", "")
      return ("daal4py" in module) or ("sklearnex" in module)
  
file_path: scikit-learn-intelex/sklearnex/dispatcher.py
imports: import os
  import sys
  from functools import lru_cache
  from daal4py.sklearn._utils import daal_check_version, sklearn_check_version
label_desc: Use image node_id 8 for calling a global function with example usage: is_patched_instance(instance) and returns: unknown