Check Model Type from Drawing

Good Morning All,

I was wondering if there was some way to check whether or not a drawing's reference model is a part or an assembly?

Thanks,

Trevor

SolidworksApi macros