code: def _flag_type(val):
      if isinstance(val, str):
          return "string"
      if isinstance(val, bool):
          return "boolean"
      if isinstance(val, (int, float)):
          return "number"
      return None
  
imports: import logging
  import os
  from guild import cli
  from guild import guildfile
  from guild import util
  from guild import yaml_util
label_desc: Use image node_id 10 for calling a global function with example usage: _flag_type(val) and returns: None, str, str, str