code: def is_input_decorated(obj: object) -> bool:
      """Returns True if the object is decorated with `check_input_specs`."""
      return hasattr(obj, "__checked_input_specs__")
  
file_path: ray/rllib/core/models/specs/checker.py
imports: import functools
  import logging
  from collections import abc
  from typing import Union, Mapping, Any, Callable
  from ray.rllib.core.models.specs.specs_base import Spec, TypeSpec
  from ray.rllib.core.models.specs.specs_dict import SpecDict
  from ray.rllib.core.models.specs.typing import SpecType
  from ray.rllib.utils.nested_dict import NestedDict
  from ray.util.annotations import DeveloperAPI
label_desc: Use image node_id 6 for calling a global function with example usage: is_input_decorated(obj) and returns: hasattr