check_dataset function

Check Correctness of data_set