code: def get(message_type, key, values=None):
      if isinstance(values, dict) and len(values) > 0:
          return MESSAGES[message_type][key].format(*values, **values)
      elif isinstance(values, str) or isinstance(values, to_unicode):
          return MESSAGES[message_type][key] % str(values)
      elif isinstance(values, tuple):
          return MESSAGES[message_type][key] % values
      else:
          return MESSAGES[message_type][key]
  
label_desc: Use image node_id 1 for calling a global function with example usage: get(message_type, key, values) and returns: MESSAGES, unknown, unknown, MESSAGES