code: def check_ts_var(X, Xtr, Xte):
      assert np.all(
          [
              np.array_equal(np.concatenate((Xtr[i], Xte[i])), X[i])
              for i in range(len(X))
          ]
      )
  
file_path: seglearn/seglearn/tests/test_split.py
imports: from numpy.random import rand
  import numpy
  from seglearn.split import TemporalKFold, temporal_split
  from seglearn.base import TS_Data
label_desc: Use image node_id 3 for calling a global function with example usage: check_ts_var(X, Xtr, Xte) without return types