code: def _check_manual_selection(manual_selection, DUMMIES):
      if (manual_selection is not None) and (
          not all(
              elem in DUMMIES["dummy"].unique()
              for elem in manual_selection
          )
      ):
          raise ValueError(
              "Invalid manual_selection specified, must be in: "
              + ", ".join(DUMMIES["dummy"].unique())
          )
  
file_path: sktime/sktime/transformations/series/date.py
imports: import warnings
  import numpy
  import pandas
  from sktime.transformations.base import BaseTransformer
label_desc: Use image node_id 1 for calling a global function with example usage: _check_manual_selection(manual_selection, DUMMIES) without return types