code: def get_fake_args_kwargs(
      x: torch.fx.Node,
  ) -> Tuple[bool, Tuple[Any], Dict[str, Any]]:
      """
      First value returns a boolean if any of the input nodes don't have a faketensor.
      """
      args, kwargs = tree_map(get_fake, (x.args, x.kwargs))
      if any(
          isinstance(a, torch.fx.Node)
          for a in pytree.arg_tree_leaves(*args, **kwargs)
      ):
          return False, args, kwargs
      return True, args, kwargs
  
file_path: pytorch/torch/_inductor/fx_utils.py
imports: from collections import defaultdict
  from typing import Any, Callable, DefaultDict, Dict, Optional, Tuple, Type
  import torch
  import torch.fx
  from torch.fx.experimental.symbolic_shapes import statically_known_true, sym_eq
  from torch.utils import _pytree
  from torch.utils._pytree import tree_map
  from .virtualized import V
label_desc: Use image node_id 5 for calling a global function with example usage: get_fake_args_kwargs(x) and returns: True,  args,  kwargs, False,  args,  kwargs