class_docstr: Information about the backend H2O cluster.
  
  This object is available from ``h2o.cluster()`` or ``h2o.connection().cluster``, and its purpose is to provide
  basic information / manipulation methods for the underlying cluster.
class_docstr_tok: ["Information","about","the","backend","H2O","cluster",".","This","object","is","available","from","``","h2o.cluster","(",")","``","or","``","h2o.connection","(",")",".cluster","``",",","and","its","purpose","is","to","provide","basic","information","\/","manipulation","methods","for","the","underlying","cluster","."]
docstr: Verifies that h2o-python module and the H2O server are compatible with each other.
  :param strict: if True, an error is raised on version mismatch, otherwise, a warning is simply printed.
docstr_tok: ["Verifies","that","h2o-python","module","and","the","H2O","server","are","compatible","with","each","other",".",":","param","strict",":","if","True",",","an","error","is","raised","on","version","mismatch",",","otherwise",",","a","warning","is","simply","printed","."]
code: def check_version(self, strict=False):
      """
      Verifies that h2o-python module and the H2O server are compatible with each other.
      :param strict: if True, an error is raised on version mismatch, otherwise, a warning is simply printed.
      """
      ver_h2o = self.version
      ver_pkg = (
          "UNKNOWN"
          if h2o.__version__ == "SUBST_PROJECT_VERSION"
          else h2o.__version__
      )
      if str(ver_h2o) != str(ver_pkg):
          branch_name_h2o = self.branch_name
          build_number_h2o = self.build_number
          if build_number_h2o is None or build_number_h2o == "unknown":
              message = (
                  "Version mismatch. H2O is version {0}, but the h2o-python package is version {1}. "
                  "Upgrade H2O and h2o-Python to latest stable version - "
                  "http://h2o-release.s3.amazonaws.com/h2o/latest_stable.html.  To avoid this error "
                  "message (not recommended), you can set strict_version_check=False."
              ).format(ver_h2o, ver_pkg)
          elif build_number_h2o == "99999":
              message = (
                  "Version mismatch. H2O is version {0}, but the h2o-python package is version {1}. "
                  "This is a developer build, please contact your developer.  To avoid this error "
                  "message (not recommended), you can set strict_version_check=False."
              ).format(ver_h2o, ver_pkg)
          else:
              message = (
                  "Version mismatch. H2O is version {0}, but the h2o-python package is version {1}. "
                  "Install the matching h2o-Python version from - "
                  "http://h2o-release.s3.amazonaws.com/h2o/{2}/{3}/index.html.  To avoid this error "
                  "message (not recommended), you can set strict_version_check=False."
              ).format(
                  ver_h2o, ver_pkg, branch_name_h2o, build_number_h2o
              )
          if strict:
              raise H2OConnectionError(message)
          else:
              print("Warning:", message)
      # Check age of the install
      if self.build_too_old:
          print(
              (
                  "Warning: Your H2O cluster version is ({}) old.  There may be a newer version available.\n"
                  "Please download and install the latest version from: https://h2o-release.s3.amazonaws.com/h2o/latest_stable.html"
              ).format(self.build_age)
          )
  
imports: from h2o.utils.compatibility import *
  import json
  import re
  import sys
  import time
  import h2o
  from h2o.exceptions import H2OConnectionError, H2OServerError
  from h2o.display import H2OTableDisplay
  from h2o.schemas import H2OSchema
  from h2o.utils.typechecks import assert_is_type
  from h2o.utils.shared_utils import get_human_readable_bytes, get_human_readable_time
  from h2o.two_dim_table import H2OTwoDimTable
label_desc: Use image node_id 17 for calling the H2OCluster obj's underlying member method code with example usage: obj.check_version(strict) without return types