Function isKeySetOfStrings