Sub-assembly in assembly

I use the following code, to rtaverse all components, of a specific assembly:

swAssemblyModel = swApp.ActiveDoc

swConf = swAssemblyModel.GetActiveConfiguration

swRootComp = swConf.GetRootComponent3(True)

vChildComp = swRootComp.GetChildren

For i = 0 To UBound(vChildComp)

     swComp = vChildComp(i)

     ...

     ...

     ...

Next i

I have noticed "IsSuppressed", or "IsPatternInstance" parametars, which defines component's suppression-state and patteren-state, for example.

Is there a way to define if any component is a sub-assembly, in the assembly, and get its children also?

SolidworksApi macros