OK, thanks for the background.
I don't know LiveCode, but you have to be aware of two kinds of languages: static languages, like Java (or C or Pascal, etc.) require to declare everything, so that the compiler can do static checks of the validity of the code. The latter is good to validate the code and report errors even before running the code, but requires more code to be written and is quite rigid.
Dynamic languages, like JavaScript (or Python, Lua, etc.) are more flexible, allow to create variables on the fly, can sometime store a string in a variable holding previously a number, etc. Some people like the ease of coding in these languages, others say they are more risky in production (enterprise software), unless making tons of unit tests, because an error can happen because the code took a route rarely used and reveal an error uncaught so far (precisely like calling a function with a string instead of a number...), error that would have been caught by a static compiler.
Well, I err a bit, but what I wanted to say is that some languages allow things that are hard and inefficient in other languages. Like having an eval() function taking an expression (or a code fragment) and running it, or listing all the entities created so far, and so on.
In Processing, doing an exist() function would need to keep track of all objects created. It would need either to plug into the JVM (the Java Virtual Machine, taking care of the lifetime of the objects) which is hard to impossible (unless instrumenting the code, perhaps, kind of advanced topic) or to keep a reference to each created object. At least for the Processing-specific types like PShape or PImage.
But then, it would mean that memory would never be released! Because the garbage collector of Java will release memory of an object only when it has no longer any reference on it.
Well, there are weak hash map for this case, I suppose (thinking while typing...), but that's another case, and a failed experiment with PImage, resulting in a kind of memory leak, shown that's not an easy topic...
All this to say such feature is very hard to do correctly in Java (if at all, in an efficient way, ie. not slowing down the sketches and eating a lot of memory...); while it is quite trivial and flexible to do it with your own HashMap.
Processing is all about making life of coders easier, but sometime the cost is too high to be practical.
That said, if you still need help to tame your HashMap, just ask.