def contains (self, point):
    """contains(point) -> True | False

    Returns True if point is contained inside this Rectangle, False otherwise.

    Examples:
    
    >>> r = Rect( Point(-1, -1), Point(1, 1) )
    >>> r.contains( Point(0, 0) )
    True

    >>> r.contains( Point(2, 3) )
    False
    """
    return (point.x >= self.ul.x and point.x <= self.lr.x) and \
           (point.y >= self.ul.y and point.y <= self.lr.y)
def contains ( self , point ) : return ( point . x >= self . ul . x and point . x <= self . lr . x ) and ( point . y >= self . ul . y and point . y <= self . lr . y )
contains(point) -> True | False

    Returns True if point is contained inside this Rectangle, False otherwise.

    Examples:
    
    >>> r = Rect( Point(-1, -1), Point(1, 1) )
    >>> r.contains( Point(0, 0) )
    True

    >>> r.contains( Point(2, 3) )
    False