code: def check_library(obj, library):
      if not isinstance(library, list):
          library = [library]
      return any(
          [obj.__module__.split(".")[0].startswith(l) for l in library]
      )
  
imports: import sys
  from collections.abc import Hashable
  from functools import wraps
  from packaging.version import Version
  from types import FunctionType
  import bokeh
  import numpy
  import pandas
  import param
  import holoviews
label_desc: Use image node_id 10 for calling a global function with example usage: check_library(obj, library) and returns: any