code: def is_fx_tracing_legacy() -> bool:
      """
      Returns a bool indicating whether torch.fx is currently symbolically tracing a module.
      Can be useful for gating module logic that is incompatible with symbolic tracing.
      """
      return torch.nn.Module.__call__ is not _orig_module_call
  
imports: import inspect
  import torch
  from detectron2.utils.env import TORCH_VERSION
label_desc: Use image node_id 1 for calling a global function with example usage: is_fx_tracing_legacy() and returns: unknown