code: def check_estimator(model: Estimator):
      """Check if a model adheres to River's conventions.
  
      This will run a series of unit tests. The nature of the unit tests depends on the type of
      model.
  
      Parameters
      ----------
      model
  
      """
      for check in yield_checks(model):
          if check.__name__ in model._unit_test_skips():
              continue
          check(model.clone())
  
file_path: river/river/checks/__init__.py
imports: from __future__ import annotations
  import functools
  import typing
  import numpy
  from river.base import Estimator
  from river.model_selection.base import ModelSelector
  from river.reco.base import Ranker
  from .None import anomaly, clf, common, model_selection, reco
label_desc: Use image node_id 5 for calling a global function with example usage: check_estimator(model) without return types