Make sure that the object has all of the keys specified. Also tests that there are not additional keys if allowAdditional is FALSE (default).
allowAdditional
Useful links