code: def test_check_predict_input_ValueError_when_levels_not_in_last_window_ForecasterAutoregMultiSeries(
      levels, last_window
  ):
      """
      Check ValueError is raised when levels are no the same as last_window column names.
      """
      err_msg = re.escape(
          (
              f"`last_window` must contain a column(s) named as the level(s) to be predicted.\n"
              f"    `levels` : {levels}.\n"
              f"    `last_window` columns : {list(last_window.columns)}."
          )
      )
      with pytest.raises(ValueError, match=err_msg):
          check_predict_input(
              forecaster_name="ForecasterAutoregMultiSeries",
              steps=10,
              fitted=True,
              included_exog=True,
              index_type=pd.RangeIndex,
              index_freq=None,
              window_size=2,
              last_window=last_window,
              last_window_exog=None,
              exog=pd.Series(np.arange(10)),
              exog_type=pd.Series,
              exog_col_names=None,
              interval=None,
              alpha=None,
              max_steps=None,
              levels=levels,
              series_col_names=["1", "2"],
          )
  
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.exceptions import NotFittedError
  from skforecast.utils import check_predict_input
  from skforecast.utils import check_exog
  from skforecast.utils import preprocess_exog
  from skforecast.utils import preprocess_last_window
  from skforecast.exceptions import MissingValuesExogWarning
label_desc: Use image node_id 10 for calling a global function with example usage: test_check_predict_input_ValueError_when_levels_not_in_last_window_ForecasterAutoregMultiSeries(levels, last_window) without return types