code: def hasanno(node, key, field_name="__anno"):
      """Returns whether AST node has an annotation."""
      return hasattr(node, field_name) and key in getattr(
          node, field_name
      )
  
file_path: objax/objax/util/tracing.py
imports: import inspect
  import ast
  import re
  import tokenize
  from io import StringIO
  from typing import Callable
  from objax.variable import BaseVar, VarCollection
  from objax.module import Module
label_desc: Use image node_id 2 for calling a global function with example usage: hasanno(node, key, field_name) and returns: unknown