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