Unfortunately not.
There is only a way to query the root template of an armor and not even that can be done directly but would have to be done indirectly (with story scripting - Osiris -, pre-built databases and some event catching).
So since having the template does not mean that you have the STAT of an armor - because multiple stats can use one and the same root template - this cannot be used anywhere, where the item template is not enough but a stat is needed, like in crafting.