code: def _signal_handler(unused_signal, unused_frame):
      while True:
          response = input(
              "\nSIGINT received. Quit program? (Y/n): "
          ).strip()
          if response in ("", "Y", "y"):
              sys.exit(0)
          elif response in ("N", "n"):
              break
  
file_path: tensorflow/tensorflow/python/debug/wrappers/grpc_wrapper.py
imports: import signal
  import sys
  import traceback
  from tensorflow.python.debug.lib import common
  from tensorflow.python.debug.wrappers import framework
label_desc: Use image node_id 2 for calling a global function with example usage: _signal_handler(unused_signal, unused_frame) without return types