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