How to identify that VisualElement is defined by UXML and not created through code

I have a little part of VisualTreeAsset’s instantiated template instance, which I need to query and get all elements that were defined inside of that VisualTreeAsset and were not created by constructors of other elements (for example Scroller’s many children).

Is there any way to determine it?

Yes, they appear in TemplateContainer.

Q<TemplateContainer>(...);

I actually mean: how to tell the difference between UXML defined Label and Label created by IntField?