code: def contains(self, x, y) -> bool:
           Checks if the given x, y position is within the area of this region. """
          if x < self._left or x > self._right or y < self._top or y > self._bottom:
              return False
          return True
docs: Checks if the given x, y position is within the area of this region.