code: def list_powerset2(lst):
      return reduce(
          lambda result, x: result
          + [subset + [x] for subset in result],
          lst,
          [[]],
      )
  
imports: from functools import reduce
label_desc: Use image node_id 2 for calling a global function with example usage: list_powerset2(lst) and returns: reduce