code: def get_current_experiment() -> AnomalyExperiment:
      """
      Obtain the current experiment object.
  
      Returns:
          Current AnomalyExperiment
      """
      return _CURRENT_EXPERIMENT
  
imports: import logging
  import os
  from typing import Any, BinaryIO, Callable, Dict, List, Optional, Union
  import pandas
  from joblib.memory import Memory
  from pycaret.anomaly.oop import AnomalyExperiment
  from pycaret.loggers.base_logger import BaseLogger
  from pycaret.utils.constants import DATAFRAME_LIKE, SEQUENCE_LIKE
  from pycaret.utils.generic import check_if_global_is_not_none
label_desc: Use image node_id 18 for calling a global function with example usage: get_current_experiment() and returns: _CURRENT_EXPERIMENT