code: def _flag_type_for_annotation(ann):
      if not isinstance(ann, ast.Name):
          return None
      if ann.id == "int":
          return "int"
      if ann.id == "float":
          return "float"
      if ann.id == "bool":
          return "boolean"
      if ann.id == "str":
          return "string"
      return None
  
imports: import ast
  import json
  import logging
  import os
  import re
  from guild import config
  from guild import guildfile
  from guild import model
  from guild import plugin
  from guild import python_util
  from guild import util
  from .None import flags_import_util
label_desc: Use image node_id 25 for calling a global function with example usage: _flag_type_for_annotation(ann) and returns: None, None, str, str, str, str