How to use Exists method with multidimensional associative array

In reply to aadgoyal11:

Your code works for me displaying ‘1’. (tried 4 different simulators)