h2o-py/h2o/backend/cluster.py
def is_running(self):
        """
        Determine if the H2O cluster is running or not.

        :returns: True if the cluster is up; False otherwise
        """
        try:
            if h2o.connection().local_server and not h2o.connection().local_server.is_running(): return False
            h2o.api("GET /")
            return True
        except (H2OConnectionError, H2OServerError):
            return False
def is_running(self):
        """
        Determine if the H2O cluster is running or not.

        :returns: True if the cluster is up; False otherwise
        """
        try:
            if h2o.connection().local_server and not h2o.connection().local_server.is_running(): return False
            h2o.api("GET /")
            return True
        except (H2OConnectionError, H2OServerError):
            return False
def is_running ( self ) : try : if h2o . connection ( ) . local_server and not h2o . connection ( ) . local_server . is_running ( ) : return False h2o . api ( "GET /" ) return True except ( H2OConnectionError , H2OServerError ) : return False
Determine if the H2O cluster is running or not.

        :returns: True if the cluster is up; False otherwise
Determine if the H2O cluster is running or not .