Use helper functions in objectHasChildHavingTag()