def is_maximized(self):
        return bool(self.widget.windowState() & Qt.WindowMaximized)
Test boolean validation.
dataset/ETHPy150Open nucleic/enaml/enaml/qt/qt_window.py/QtWindow.is_maximized--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/tests/helpers/test_config_validation.py/test_boolean