code: def G(base):
      # G  Minimum stem length = 3 and remove ending only after f
      return len(base) > 2 and base[-1] == "f"
  
imports: from collections import defaultdict
label_desc: Use image node_id 7 for calling a global function with example usage: G(base) and returns: unknown