def set_starting_position(poly, ggr=None):
    """Check and set starting position."""
    if not ggr:
        starting_position = 'upperleftcorner'
    else:
        starting_position = ggr.Starting_Vertex_Position.lower()
    poly = poly.order_points(starting_position)
    return poly
