More strict checking for what is allowed as a Mapping object.