Is key exists ?

Typically, to check if an object has a key in Javascript, you need to write the following if statement:

So we are providing a more simpler solution: