"""
if type(X) is np.recarray:
_check_ts(X["ts"])
elif type(X) is list or type(X) is np.ndarray:
_check_ts(X)
else:
After Change
Time series data and (optionally) static data created as per ``make_ts_data``
"""
Xt, Xs = get_ts_data_parts(X)
if Xs is not None:
assert len(Xt) == len(Xs)
N_tvars = np.array([np.row_stack(Xt[i]).shape[1] for i in range(len(Xt))])
assert len(np.unique(N_tvars)) == 1