Checks if the given estimator is fitted
check_is_fitted(estimator)
estimator
An estimator with is_fitted attribute
TRUE if the estimator is fitted, FALSE is not