It is same as TemplateInstance::isnested.