How to know the Family() of a Template

Just found Registered() as in #If(Registered(‘TemplateName(Family)’) which according to the docs should also work for everything except the #Template template.

Will need to test if the family/chain/set is wrapped in parenthesis like above automatically as another way to detect ABC or CW20.