'Check if the main app is starting up'

def is_editor_ready(self):

    if self.editor_widget:
        window = self.editor_widget.window()
        if (hasattr(window, 'is_starting_up') and (not window.is_starting_up)):
            return True
