def METHOD_NAME(line):
    """Revert the coords order from a LineString."""
    assert isinstance(line, LineString)
    # http://stackoverflow.com/questions/33175022/order-of-linestrings-in-multilinestring-object-in-shapely
    return LineString(line.coords[::-1])