code: def is_fitted(estimator) -> bool:
      try:
          check_is_fitted(estimator)
          return True
      except Exception:
          return False
  
file_path: pycaret/pycaret/internal/validation.py
imports: from copy import deepcopy
  import pandas
  from sklearn.pipeline import Pipeline
  from sklearn.utils.validation import check_is_fitted
  from pycaret.internal.logging import get_logger
label_desc: Use image node_id 3 for calling a global function with example usage: is_fitted(estimator) and returns: True, False