BF: ensure that dataset.all_equal always returns a bool and not sometimes a numpy array with a boolean element