check if the keys are uniq