IF Not Empty then API Macro Issue

I have a macro that contains the following code so i can determine if a component has geometry or not.

vBodies = SWChildComp.GetBodies3(SwConst.swBodyType_e.swSolidBody, vBodyInfo)

If Not vBodies = Empty Then

with this code if vBodies is empty the code works fine if it does have geometry then is get a type mismatch error.

is there a way for me to accomplish this statement im trying to make

SolidworksApi macros