[spl-array] add validatedKeysSet to check array key present or not.