code: def collapsed(
      message,
  ):  # FIXME: more secure if takes condition, not message
      """extract collapse result from collapse message"""
      # NOTE: keys should match term.__doc__; values are collapses in mask format
      collapses = {}
      for message in message.split("; "):
          message = message.rsplit(" at ", 1)
          msg = message.pop(-1)
          if message:
              collapses[message[0]] = eval(msg)
      return collapses if collapses else None
  
file_path: mystic/mystic/collapse.py
imports: import mystic.monitors
label_desc: Use image node_id 12 for calling a global function with example usage: collapsed(message) and returns: unknown