def has_intersection(self, other):
        """Return whether this rectangle intersects with another rectangle.

        Args:
            other (Rect): The rectangle to test intersection with.

        Returns:
            bool: True if there is an intersection, False otherwise.
        """
        return bool(lib.SDL_HasIntersection(self._ptr, other._ptr))