code: def _try_lookup(table, value, default = ""):
      
      try:
          string = table[ value ]
      except KeyError:
          string = default
      return string
docs: try to get a string from the lookup table, return "" instead of key
      error