code: def _loop_wx(app):
      """Inner-loop for running the Wx eventloop
  
      Pulled from guisupport.start_event_loop in IPython < 5.2,
      since IPython 5.2 only checks `get_ipython().active_eventloop` is defined,
      rather than if the eventloop is actually running.
      """
      app._in_event_loop = True
      app.MainLoop()
      app._in_event_loop = False
  
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 9 for calling a global function with example usage: _loop_wx(app) without return types