code: def process_message(self, msg):
      if msg.msg_type == MessageTypes.SHUTDOWN:
          self.is_alive = False
  
file_path: metaflow/metaflow/mflog/save_logs_periodically.py
imports: import os
  import sys
  import time
  import subprocess
  from threading import Thread
  from metaflow.sidecar import MessageTypes
  from .None import update_delay, BASH_SAVE_LOGS_ARGS
label_desc: Use image node_id 2 for calling the SaveLogsPeriodicallySidecar obj's underlying member method code with example usage: obj.process_message(msg) without return types