code: def exist_or_not(i, match_pos):
      start_pos = None
      end_pos = None
      for pos in match_pos:
          if pos[0] <= i < pos[1]:
              start_pos = pos[0]
              end_pos = pos[1]
              break
  
      return start_pos, end_pos
  
imports: import argparse
  import codecs
  import re
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: exist_or_not(i, match_pos) and returns: start_pos,  end_pos