Yes. A resource returned by another resource is a sub-resource by the generator standards.