code: def is_xarray(data):
      if not check_library(data, "xarray"):
          return False
      from xarray import DataArray, Dataset
  
      return isinstance(data, (DataArray, Dataset))
  
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 17 for calling a global function with example usage: is_xarray(data) and returns: isinstance, False