code: def _check_consistent_lengths(X, Y):
      n_timestamps_X, n_timestamps_Y = X.shape[-1], Y.shape[-1]
      if not n_timestamps_X == n_timestamps_Y:
          raise ValueError(
              "Found input variables with inconsistent numbers of "
              "timestamps: [{0}, {1}]".format(
                  n_timestamps_X, n_timestamps_Y
              )
          )
  
file_path: pyts/pyts/metrics/lower_bounds.py
imports: import numpy
  from math import sqrt
  from numba import njit, prange
  from sklearn.utils import check_array
label_desc: Use image node_id 1 for calling a global function with example usage: _check_consistent_lengths(X, Y) without return types