def rect_contains_point(rect, point):
    """ Check if rectangle contains a point. """
    if (rect[0] <= point[0] and
        rect[1] <= point[1] and
        rect[0] + rect[2] >= point[0] and
        rect[1] + rect[3] >= point[1]):
        return True
    return False