check_available_dataset function

Check if dataset is available.