code: def task_barrier(barrier, num_parties):
      assert barrier.parties == num_parties
      barrier.wait()
      assert barrier.broken == False
  
label_desc: Use image node_id 2 for calling a global function with example usage: task_barrier(barrier, num_parties) without return types