code: def get_language_code(language):
      try:
          return languages.lookup(language).alpha_2
      except LookupError:
          raise Exception(
              "Language %s not recognized. Try the iso-639 code."
              % language
          )
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_language_code(language) and returns: languages