code: def safe_index(l, e):
      """
      Return index of element e in list l. If e is not present, return the last index
      """
      try:
          return l.index(e)
      except:
          return len(l) - 1
  
label_desc: Use image node_id 1 for calling a global function with example usage: safe_index(l, e) and returns: l, unknown