code: def is_in_bounds(self, width, height) -> bool:
          
          if self._top < 0 \
                  or self._bottom > height \
                  or self._left < 0 \
                  or self._right > width:
              return False
          return True
docs: Check if this entire region is contained within the bounds of a given stage size.