code: def get_source_range(lines, tag):
      srclines = enumerate(lines)
      start_tag = "#--! %s-start" % tag
      end_tag = "#--! %s-end" % tag
  
      for start_index, line in srclines:
          if line.strip().startswith(start_tag):
              break
  
      for end_index, line in srclines:
          if line.strip().endswith(end_tag):
              break
  
      return (start_index + 1, end_index)
  
imports: import os.path
  import shutil
label_desc: Use image node_id 1 for calling a global function with example usage: get_source_range(lines, tag) and returns: unknown,  end_index