Traverse method

check value must be able to tell wether a tag has child and whether that
tag exist in check structure