code: def test_check_estimator_from_sklearn(estimator):
      return check_estimator(estimator)
  
file_path: feature_engine/tests/test_time_series/test_forecasting/test_check_estimator_forecasting.py
imports: import numpy
  import pandas
  import pytest
  from sklearn.base import clone
  from sklearn.utils.estimator_checks import check_estimator
  from feature_engine.timeseries.forecasting import ExpandingWindowFeatures, LagFeatures, WindowFeatures
  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