code: def assert_array_equal(x, y, err_msg="", verbose=True):
      """
      Checks the elementwise equality of two masked arrays.
  
      """
      assert_array_compare(
          operator.__eq__,
          x,
          y,
          err_msg=err_msg,
          verbose=verbose,
          header="Arrays are not equal",
      )
  
imports: import operator
  import numpy
  from numpy import ndarray, float_
  import numpy.core.umath
  import numpy.testing
  from numpy.testing import assert_, assert_allclose, assert_array_almost_equal_nulp, assert_raises, build_err_msg
  from .core import mask_or, getmask, masked_array, nomask, masked, filled
  from unittest import TestCase
label_desc: Use image node_id 9 for calling a global function with example usage: assert_array_equal(x, y, err_msg, verbose) without return types