code: def find_sub_list(sl, list, offset=0):
      sll = len(sl)
      for ind in (i for i, e in enumerate(list) if e == sl[0]):
          if ind < offset:
              continue
          if list[ind : ind + sll] == sl:
              return ind, ind + sll - 1
  
file_path: interpret-text/python/interpret_text/generative/model_lib/misc_utils.py
imports: import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: find_sub_list(sl, list, offset) and returns: ind,  unknown