code: def __when(func):
      "factory for single termination condition cast as a compound condition"
      return __and(func)
  
imports: from mystic.termination import And, Or, When
label_desc: Use image node_id 3 for calling a global function with example usage: __when(func) and returns: __and