code: def _is_composite_array(x):
      if isinstance(x, ragged_tf.RaggedTensor):
          return True
      if ivy.is_ivy_sparse_array(x) or ivy.is_native_sparse_array(x):
          return True
      return False
  
imports: import ivy.functional.frontends.tensorflow.ragged
  from ivy.functional.frontends.tensorflow.func_wrapper import to_ivy_arrays_and_back
  import ivy
label_desc: Use image node_id 2 for calling a global function with example usage: _is_composite_array(x) and returns: False, True, True