def METHOD_NAME(batch: Dict[str, Any]) -> None:
    num_values = len(batch["values"])
    num_batch_indexes = len(batch["batches"])
    num_timestamps = len(batch["timestamps"])
    if not (num_values == num_batch_indexes == num_timestamps):
        pytest.fail(
            f"mismatched lists: not ({num_values} == {num_batch_indexes} == {num_timestamps})"
        )
    if num_values == 0:
        pytest.fail(f"received batch of size 0, something went wrong: {batch}")