code: def _split_mask(mask):
      """separate a mask into a list of ints and list of tuples (pairs).
      mask should be composed of indices and pairs of indices"""
      tuples = []
      return [
          i for i in mask if type(i) is int or tuples.append(i)
      ], tuples
  
file_path: mystic/mystic/collapse.py
imports: import mystic.monitors
label_desc: Use image node_id 6 for calling a global function with example usage: _split_mask(mask) and returns: unknown,  tuples