JS: Check Property Existence
Check If a Object Has Own Property
Check If a Property is in Prototype Chain
To check if a property key is in a object obj's prototype chain (including if it's its own property), use one of:
JS Object Property
If you have a question, put $5 at patreon and message me.