code: def test_algos_estimators_exposed_in_h2o_sklearn_estimators_module():
      import h2o.estimators
  
      mod = importlib.import_module("h2o.sklearn.estimators")
      class_names = [
          name
          for name, _ in inspect.getmembers(
              h2o.estimators, inspect.isclass
          )
      ]
      for cl_name in class_names:
          for name in _make_estimator_names(cl_name):
              cls = getattr(mod, name, None)
              assert cls, "Class {} is missing in module {}".format(
                  name, mod
              )
              for meth in sklearn_estimator_methods:
                  assert _has_method(
                      cls, meth
                  ), "Class {} is missing method {}".format(name, meth)
              if name.endswith("Classifier") or name.endswith(
                  "Regressor"
              ):
                  meth = "score"
                  assert _has_method(
                      cls, meth
                  ), "Class {} is missing method {}".format(name, meth)
                  for meth in ["predict_proba", "predict_log_proba"]:
                      if name.endswith("Classifier"):
                          assert _has_method(
                              cls, meth
                          ), "Class {} is missing method {}".format(
                              name, meth
                          )
                      else:
                          assert not _has_method(
                              cls, meth
                          ), "Class {} should not have method {}".format(
                              name, meth
                          )
              _check_exposed_in_h2o_sklearn_module(cls)
  
file_path: h2o-3/h2o-py/tests/testdir_sklearn/pyunit_sklearn_api.py
imports: import importlib, inspect, os, sys
  from tests import pyunit_utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_algos_estimators_exposed_in_h2o_sklearn_estimators_module() without return types