code: def load_objective(config):
      """
      Loads the objective function from a .json file.
      """
  
      assert "prjpath" in config
      assert (
          "main-file" in config
      ), "The problem file ('main-file') is missing!"
  
      os.chdir(config["prjpath"])
      if config["language"].lower() == "python":
          assert config["main-file"].endswith(
              ".py"
          ), "The python problem file has to end with .py!"
          import imp
  
          m = imp.load_source(
              config["main-file"][:-3],
              os.path.join(config["prjpath"], config["main-file"]),
          )
          func = m.__dict__[config["main-file"][:-3]]
      return func
  
label_desc: Use image node_id 1 for calling a global function with example usage: load_objective(config) and returns: func