From Xojo Documentation
Returns a Boolean. The HasKey function is encoding-sensitive. The Dictionary works off hash functions and the hash of a UTF-16 string is vastly different from the hash of a UTF-8 string.
This example checks to see if the key corresponding to the passed color is in the Dictionary.