Returns True if the child key exists.
The following example calls HasKey to check if the passed key exists.