code: def _is_self_similar(s1, s2):
      # not self similar if from different series or dimension
      if s1[4] == s2[4] and s1[3] == s2[3]:
          if s2[2] <= s1[2] <= s2[2] + s2[1]:
              return True
          if s1[2] <= s2[2] <= s1[2] + s1[1]:
              return True
  
      return False
  
file_path: sktime/sktime/transformations/panel/_shapelet_transform_numba.py
imports: import heapq
  import math
  import numpy
  from sktime.utils.numba.njit import njit
label_desc: Use image node_id 5 for calling a global function with example usage: _is_self_similar(s1, s2) and returns: False, True, True