code: def compare_params(original, generic):
      original_params = original.params
      generic_params = generic.params
  
      assert original is not None
      assert generic_params is not None
  
      assert (
          len(original_params) == len(generic_params) - 2
      )  # Two more in Generic: _model_key and model_path
  
      for param_name in original_params:
          if param_name == "model_id":
              continue
          generic_param = generic_params[param_name]
          original_param = original_params[param_name]
          if param_name == "ignored_columns":
              assert generic_param == original_param
          assert generic_param is not None
          assert original_param is not None
  
label_desc: Use image node_id 2 for calling a global function with example usage: compare_params(original, generic) without return types