code: def check_ignore_cols_automl(models, names, x, y):
      models = sum(models.as_data_frame().values.tolist(), [])
      for model in models:
          if "StackedEnsemble" in model:
              continue
          else:
              assert set(
                  h2o.get_model(model).params["ignored_columns"][
                      "actual"
                  ]
              ) == set(names) - {y} - set(x), (
                  "ignored columns are not honored for model " + model
              )
  
imports: import sys, os
  import h2o
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: check_ignore_cols_automl(models, names, x, y) without return types