Check Whether an Object Has a Key in JavaScript | CodeTrail