code: def _is_target(x: Any) -> bool:
      if isinstance(x, dict):
          return "_target_" in x
      if OmegaConf.is_dict(x):
          return "_target_" in x
      return False
  
imports: import copy
  import functools
  from enum import Enum
  from textwrap import dedent
  from typing import Any, Callable, Dict, List, Sequence, Tuple, Union
  from omegaconf import OmegaConf, SCMode
  from omegaconf._utils import is_structured_config
  from hydra._internal.utils import _locate
  from hydra.errors import InstantiationException
  from hydra.types import ConvertMode, TargetConf
label_desc: Use image node_id 1 for calling a global function with example usage: _is_target(x) and returns: False, unknown, unknown