code: def isdense(x):
      return isinstance(x, cupy.ndarray)
  
file_path: cupy/cupyx/scipy/sparse/_sputils.py
imports: import cupy
  import operator
  import numpy
  from cupy._core._dtype import get_dtype
label_desc: Use image node_id 1 for calling a global function with example usage: isdense(x) and returns: isinstance