code: def load_dict():
      """
      Load java messages that can be ignored pickle file into a dict structure g_ok_java_messages.
  
      :return: none
      """
      global g_load_java_message_filename
      global g_ok_java_messages
  
      if os.path.isfile(g_load_java_message_filename):
          # only load dict from file if it exists.
          with open(g_load_java_message_filename, "rb") as ofile:
              g_ok_java_messages = pickle.load(ofile)
      else:  # no previous java messages to be excluded are found
          g_ok_java_messages["general"] = []
  
file_path: h2o-3/scripts/addjavamessage2ignore.py
imports: import sys
  import os
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: load_dict() without return types