code: def get_idx_to_func(cu_h, cu_func):
      cu_sig = cu_h.find(cu_func)
      # 1. function names are always followed immediately by a "("
      # 2. we need a loop here to find the exact match
      while True:
          if cu_sig == -1:
              break
          elif cu_h[cu_sig + len(cu_func)] != "(":
              cu_sig = cu_h.find(cu_func, cu_sig + 1)
          else:
              break  # match
      return cu_sig
  
imports: import urllib.request
  import sys
  from typing import Tuple
label_desc: Use image node_id 1 for calling a global function with example usage: get_idx_to_func(cu_h, cu_func) and returns: cu_sig