Returns True if the named child exists.
The following example calls HasName to check if the passed aName exists.