code: def applies(cls, obj):
      return isinstance(obj, (xr.DataArray, xr.Dataset))
  
file_path: hvplot/hvplot/xarray.py
imports: import xarray
  from panel.widgets import Widget
  from .interactive import Interactive
label_desc: Use image node_id 1 for calling the XArrayInteractive obj's underlying member method code with example usage: obj.applies(cls, obj) and returns: isinstance