On Collection doc:
* To determine if keys were specified when items were added to the collection,
you can use the statement GetKey(1) and the EMPTY() function to check for an empty return value as follows:
Of course:
Collection=CREATEOBJECT("Collection")
Collection.Add("First",0H9)
? !EMPTY(Collection.GetKey(1)),0<LEN(Collection.GetKey(1))