code: def is_sklearn_cv_generator(object):
      return not isinstance(object, str) and hasattr(object, "split")
  
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 2 for calling a global function with example usage: is_sklearn_cv_generator(object) and returns: unknown