Dictionary.HasKey
From Xojo Documentation
Method
Returns True if Key is in the Dictionary and False if it is not.
Notes
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.
Sample Code
This example checks to see if the key corresponding to the passed color is in the Dictionary.