code: def should_keep_alive(commit_msg):
      result = False
      ci = get_current_ci() or ""
      for line in commit_msg.splitlines():
          parts = line.strip("# ").split(":", 1)
          (key, val) = parts if len(parts) > 1 else (parts[0], "")
          if key == "CI_KEEP_ALIVE":
              ci_names = (
                  val.replace(",", " ").lower().split() if val else []
              )
              if len(ci_names) == 0 or ci.lower() in ci_names:
                  result = True
      return result
  
imports: import argparse
  import errno
  import logging
  import os
  import signal
  import subprocess
  import sys
  import time
label_desc: Use image node_id 12 for calling a global function with example usage: should_keep_alive(commit_msg) and returns: result