Given a rectilinear shape, potentially with rectilinear cut-outs, determine whether a given point is within the shape.