code: def update_position_masks(condition, mask, new=False):
      """update all position masks in the given termination condition"""
      return _update_masks(condition, mask, "CollapsePosition", new)
  
file_path: mystic/mystic/mask.py
imports: import mystic.termination
label_desc: Use image node_id 7 for calling a global function with example usage: update_position_masks(condition, mask, new) and returns: _update_masks