code: def qapplication(translate=True, test_time=3):
      
      app = QApplication.instance()
      if app is None:
          app = QApplication(['Conda-Manager'])
          app.setApplicationName('Conda-Manager')
      if translate:
          install_translator(app)
  
      test_travis = os.environ.get('TEST_CI', None)
      if test_travis is not None:
          timer_shutdown = QTimer(app)
          timer_shutdown.timeout.connect(app.quit)
          timer_shutdown.start(test_time*1000)
      return app
docs: Return QApplication instance
      Creates it if it doesn't already exist