code: def _mxnet_frontend_array_to_ivy(x):
      if hasattr(x, "ivy_array"):
          return x.ivy_array
      return x
  
file_path: ivy/ivy/functional/frontends/mxnet/func_wrapper.py
imports: import functools
  import inspect
  from typing import Callable
  import ivy
  from ivy.functional.frontends.mxnet.numpy.ndarray import ndarray
label_desc: Use image node_id 2 for calling a global function with example usage: _mxnet_frontend_array_to_ivy(x) and returns: x, x