This helper function makes a few simple checks to identify obvious issues with the way that splits have been made in the supplied data.
check_splits(data)
Dataframe which should have appropriate .split_id
column.
Returns NULL. Errors if a problem is discovered.