code: def _is_deployed(self, mlops_connection, project, environment):
      return all(
          [
              _is_model_deployed(
                  mlops_connection, project, self.model_id + "_" + env
              )
              for env in environment
          ]
      )
  
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 5 for calling a global function with example usage: _is_deployed(mlops_connection, project, environment) and returns: all