has_gaps function

Does a dataset have implicit gaps