Internal
Disallows inherited object properties and prevents object prototype pollution by disallowing certain keys.
The object to check.
The key to check.
Whether the key is allowed.
Disallows inherited object properties and prevents object prototype pollution by disallowing certain keys.