https://tutorial.eyehunts.com/js/javascript-checks-if-the-object-has-key-example-code/
JavaScript checks if the object has key | Example code