def _shapes_are_equal_length(shapes):
    return all(((len(shape) == len(shapes[0])) for shape in shapes[1:]))
def _shapes_are_equal_length(shapes):
    return all(((len(shape) == len(shapes[0])) for shape in shapes[1:]))