Is it possible to query in a macro which Passolo Edition is open (Professional or Team)?

I have written a macro that processes projects and generates bundles for translation. I would like the macro to check that the Team Edition is open and pop a warning if it is not. Is there a property that checks the edition, or some other way to figure it out?

Thanks in advance!