    def is_valid(self):
        """
        Whether this widget has passed its data validation or not.
        """
        return self._is_valid
Whether this widget has passed its data validation or not.
asciimatics/widgets/widget.py