Validates that an object contains only allowed keys.
The object to validate.
An array of allowed keys.
A message prefix for logging validation warnings.
The context containing an issue tracker to log validation warnings.
Validates that an object contains only allowed keys.