code: def test_check_estimator_from_feature_engine(estimator):
      check_raises_non_fitted_error(estimator)
      check_raises_error_when_input_not_a_df(estimator)
      check_feature_names_in(estimator)
  
file_path: feature_engine/tests/test_wrappers/test_check_estimator_wrappers.py
imports: import pytest
  from sklearn.impute import SimpleImputer
  from sklearn.preprocessing import OrdinalEncoder, StandardScaler
  from sklearn.utils.estimator_checks import check_estimator
  from feature_engine.wrappers import SklearnTransformerWrapper
  from tests.estimator_checks.estimator_checks import check_raises_error_when_input_not_a_df
  from tests.estimator_checks.fit_functionality_checks import check_feature_names_in
  from tests.estimator_checks.non_fitted_error_checks import check_raises_non_fitted_error
  from tests.estimator_checks.variable_selection_checks import check_all_types_variables_assignment, check_numerical_variables_assignment
label_desc: Use image node_id 2 for calling a global function with example usage: test_check_estimator_from_feature_engine(estimator) without return types