code: def run_parms(parm_dict, extra_dict=None):
      config_dict = {"epochs": 1, "state": "INFO"}
      for name, parms in parm_dict.items():
          for parm in parms:
              config_dict[name] = parm
              if extra_dict is not None:
                  config_dict.update(extra_dict)
              try:
                  run_recbole(
                      model="BPR",
                      dataset="ml-100k",
                      config_dict=config_dict,
                  )
              except Exception as e:
                  print(f"\ntest `{name}`={parm} ... fail.\n")
                  logging.critical(
                      f"\ntest `{name}`={parm} ... fail.\n"
                  )
                  return False
      return True
  
imports: import os
  import sys
  import unittest
  import logging
  import warnings
  import numpy
  from recbole.quick_start import run_recbole
label_desc: Use image node_id 1 for calling a global function with example usage: run_parms(parm_dict, extra_dict) and returns: True, False