code: def _transformations_present_X(pipeline: ForecastingPipeline) -> bool:
      """Returns whether transformations are present for the exogenous variables
  
      Parameters
      ----------
      pipeline : ForecastingPipeline
          PyCaret's internal Pipeline
  
      Returns
      -------
      bool
          True if there are exogenous transformations, False otherwise
      """
      return isinstance(pipeline.steps[0][1], TransformerPipeline)
  
file_path: pycaret/pycaret/utils/time_series/forecasting/pipeline.py
imports: from copy import deepcopy
  from typing import Optional, Tuple
  import pandas
  from sktime.forecasting.base import BaseForecaster
  from sktime.forecasting.compose import ForecastingPipeline
  from sktime.transformations.compose import TransformerPipeline
  from sktime.transformations.series.impute import Imputer
label_desc: Use image node_id 2 for calling a global function with example usage: _transformations_present_X(pipeline) and returns: isinstance