code: def _ignore(attr, extra_ignore):
      """Whether an attr should be ignored from annotation checking."""
      attr = _fullname(attr)
      if "ray." not in attr or "._" in attr:
          return True
      for path in IGNORE_PATHS:
          if path in attr:
              return True
      for path in extra_ignore or []:
          if path in attr:
              return True
      return False
  
imports: import inspect
  import ray
  from ray.util.annotations import _is_annotated
label_desc: Use image node_id 2 for calling a global function with example usage: _ignore(attr, extra_ignore) and returns: False, True, True, True