`IsXYZType `check is now done in SemaDeclAttr.cpp for `device_has` and `uses_aspects `attributes. There is code duplication.