code: def _is_annotated(obj) -> bool:
      # Check the magic token exists and applies to this class (not a subclass).
      return (
          hasattr(obj, "_annotated") and obj._annotated == obj.__name__
      )
  
file_path: ludwig/ludwig/api_annotations.py
imports: from typing import Optional
label_desc: Use image node_id 6 for calling a global function with example usage: _is_annotated(obj) and returns: unknown