code: def array_equiv(a1, a2) -> bool:
      a1, a2 = promote_jax_arrays(a1, a2)
      try:
          eq = ivy.equal(a1, a2)
      except ValueError:
          # shapes are not broadcastable
          return False
      return ivy.all(eq)
  
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
  from ivy.functional.frontends.jax.numpy import promote_types_of_jax_inputs
  from ivy.utils.exceptions import IvyNotImplementedException
  from ivy.func_wrapper import with_unsupported_dtypes
label_desc: Use image node_id 6 for calling a global function with example usage: array_equiv(a1, a2) and returns: ivy, False