        def has_resized(self):
            """
            Check whether the screen has been re-sized.
            """
            re_sized = self._re_sized
            self._re_sized = False
            return re_sized
Check whether the screen has been re-sized.
asciimatics/screen.py