code: def O(base):
      # O  Remove ending only after l or i
      c = base[-1]
      return c == "l" or c == "i"
  
imports: from collections import defaultdict
label_desc: Use image node_id 15 for calling a global function with example usage: O(base) and returns: unknown