Detect if tag exists.