<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_focus_widget(self):
 """ Returns the Widget with focus. :return: Widget with focus. :rtype: QWidget """


        current_widget = QApplication.focusWidget()
        if current_widget is None:
            return False

        if current_widget.objectName() == "Script_Editor_Output_plainTextEdit" or \
                isinstance(current_widget, Editor):
            return current_widget