code: def _check_cutoffs(cutoffs):
      assert isinstance(cutoffs, np.ndarray)
      assert array_is_int(cutoffs) or array_is_datetime64(cutoffs)
      assert cutoffs.ndim == 1
      assert len(cutoffs) > 0
  
file_path: sktime/sktime/split/tests/test_split.py
imports: import numpy
  import pytest
  from sktime.forecasting.base import ForecastingHorizon
  from sktime.split import ExpandingWindowSplitter, SlidingWindowSplitter
  from sktime.utils.datetime import _coerce_duration_to_int
  from sktime.utils.validation import array_is_datetime64, array_is_int, array_is_timedelta_or_date_offset, is_int
  from sktime.utils.validation.forecasting import check_fh
label_desc: Use image node_id 3 for calling a global function with example usage: _check_cutoffs(cutoffs) without return types