code: def _is_masked_array(x):
      return isinstance(
          x, (np.ma.MaskedArray, np_frontend.ma.MaskedArray)
      )
  
imports: import ivy
  import ivy.functional.frontends.numpy
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _is_masked_array(x) and returns: isinstance