code: def pselect(n):
      l = list()
      for k in (n, not n):
          if k:
              a = sel0
          else:
              a = sel1
          a(l)
      return l
  
label_desc: Use image node_id 1 for calling a global function with example usage: pselect(n) and returns: l