code: def loop_qt4_exit(kernel):
      kernel.app.exit()
  
imports: import os
  import sys
  import platform
  import zmq
  from distutils.version import LooseVersion
  from traitlets.config.application import Application
  from IPython.utils import io
label_desc: Use image node_id 6 for calling a global function with example usage: loop_qt4_exit(kernel) without return types