code: def test_check_estimator(estimator, check):
      check(estimator.clone())
  
file_path: river/river/test_estimators.py
imports: from __future__ import annotations
  import importlib
  import inspect
  import pytest
  from river import anomaly, base, checks, compat, compose, facto, feature_extraction, feature_selection, imblearn, linear_model, model_selection, multiclass, neighbors, neural_net, preprocessing, time_series
  from sklearn import linear_model
  from river.compat.river_to_sklearn import River2SKLBase
  from river.compat.sklearn_to_river import SKL2RiverBase
label_desc: Use image node_id 3 for calling a global function with example usage: test_check_estimator(estimator, check) without return types