check to see if a tag is the active tag in order to check box