code: def is_automl_published(self, strategy=None):
      models_to_publish = _get_automl_models(self, strategy)
      if models_to_publish:
          mlops_connection = create_mlops_connection()
          project = get_or_create_project(mlops_connection)
          return all(
              [
                  _is_model_published(
                      mlops_connection, project, model.model_id
                  )
                  for model in models_to_publish
              ]
          )
      else:
          return True
  
imports: import h2o.h2o
  from .connect import *
  from .utils import *
  from .status import _is_model_published
  from .deploy import deploy
  import warnings
  import os
  import mimetypes
  import h2o_mlops_client
  import h2o_cloud_extensions
label_desc: Use image node_id 16 for calling a global function with example usage: is_automl_published(strategy) and returns: all, True