validate_keys_sufficient function

Validates whether the provided keys are sufficient to merge the datasets slices