code: def is_numpy(x):
      """Returns true if `x` is a numpy object."""
      return isinstance(x, (np.ndarray, np.generic))
  
imports: import decorator
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal.backend import numpy
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import control_flow_case
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 25 for calling a global function with example usage: is_numpy(x) and returns: isinstance