code: def test_check_estimator_from_sklearn(estimator):
      return check_estimator(estimator)
  
file_path: feature_engine/tests/test_encoding/test_check_estimator_encoders.py
imports: import pandas
  import pytest
  from sklearn.utils.estimator_checks import check_estimator
  from feature_engine.encoding import CountFrequencyEncoder, DecisionTreeEncoder, MeanEncoder, OneHotEncoder, OrdinalEncoder, PRatioEncoder, RareLabelEncoder, WoEEncoder, StringSimilarityEncoder
  from tests.estimator_checks.estimator_checks import check_feature_engine_estimator
label_desc: Use image node_id 1 for calling a global function with example usage: test_check_estimator_from_sklearn(estimator) and returns: check_estimator