def METHOD_NAME(image, bounds: List[BoundingPoly], color, draw_line: bool = False):
    """Draw a border around the image using the hints in the vector list."""
    draw = ImageDraw.Draw(image)
    for bound in bounds:
        draw.polygon(
            [
                bound.vertices[0][0],
                bound.vertices[0][1],
                bound.vertices[1][0],
                bound.vertices[1][1],
                bound.vertices[2][0],
                bound.vertices[2][1],
                bound.vertices[3][0],
                bound.vertices[3][1],
            ],
            None,
            color,
        )
        if draw_line:
            draw.line(bound.get_direction_vector())
    return image