Checks if a tag has a specific element.