Check If a Tag Is Used Before Deleting or Renaming

I think it would be impossible to make an accurate list of which tags are used or not used since tagnames can be constructed on the fly within scripts and through parameter passing to template windows.