def in_bounds(point, rect):
    """Is the point within the bounds? (Returns a boolean)

    :Parameters:
        point : tuple/list
            x, y
        rect : tuple/list
            top y, left x, bottom y, right x
    """
    return (point[0]>=rect[1] and point[0]<=rect[3] and point[1]>=rect[0] and point[1]<=rect[2])