replace is_estimator_stateless with estimator_requires_fit
The actual code before meant to check if an estimator requires fit or not while the function was named is_estimator_stateless.
The actual code before meant to check if an estimator requires fit or not while the function was named is_estimator_stateless.