code: def _get_published_automl_models(self, mlops_connection, project):
      if not self.leader:
          warnings.warn("AutoML leaderboard doesn't contain any model.")
          return True
      model_ids = [
          item
          for sublist in h2o.as_list(self.leaderboard["model_id"])
          for item in sublist
          if item != "model_id"
      ]
      published_models = [
          h2o.get_model(model_id)
          for model_id in model_ids
          if _is_model_published(mlops_connection, project, model_id)
      ]
      return published_models
  
imports: import h2o_cloud_extensions
  import h2o_mlops_client
  import time
  import h2o
  from .status import _is_model_deployed, _is_model_published
  from .connect import *
  from .utils import *
label_desc: Use image node_id 13 for calling a global function with example usage: _get_published_automl_models(mlops_connection, project) and returns: published_models, True