def is_hit(points, target):
    """For each point [x,y] in the 2D numpy array of points, indicate True
    if the point is within the target region.
    """
    x_hit = (points[:,0] >= target["x"][0]) & (points[:,0] <= target["x"][1])
    y_hit = (points[:,1] >= target["y"][0]) & (points[:,1] <= target["y"][1])
    return x_hit & y_hit