There is no standard way to combine two hashtables.
Yes, you have to check if the key is added, otherwise you can get an exception.
Also you can use:
_Machine[id] = _unValidatedMachine[id];
In this case, if the key exists, you only overwrite its value.
source share