code: def remove_old_message():
      """
      Remove java messages from ignored list if users desired it.  It first reads in the java ignored messages
      from user stored in g_old_messages_to_remove and build a dict structure (old_message_dict) out of it.  Next, it removes the
      java messages contained in old_message_dict from g_ok_java_messages.
      :return: none
      """
      global g_old_messages_to_remove
      global g_dict_changed
  
      # extract old java ignored messages to be removed in old_message_dict
      old_message_dict = extract_message_to_dict(
          g_old_messages_to_remove
      )
  
      if old_message_dict:
          g_dict_changed = True
          update_message_dict(old_message_dict, 2)
  
file_path: h2o-3/scripts/addjavamessage2ignore.py
imports: import sys
  import os
  import pickle
  import copy
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: remove_old_message() without return types