def is_main_thread(self):
        return QThread.currentThread() == self._qapp.thread()
Indicates whether the caller is on the main gui thread.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_application.py/QtApplication.is_main_thread