code: def _numpy_frontend_to_ivy(x: Any) -> Any:
      if hasattr(x, "ivy_array"):
          return x.ivy_array
      else:
          return x
  
imports: import functools
  from typing import Callable, Any
  import inspect
  import platform
  import ivy
  import ivy.functional.frontends.numpy
label_desc: Use image node_id 11 for calling a global function with example usage: _numpy_frontend_to_ivy(x) and returns: x, x