Wise Packaging Studio and Active Directory

We are moving from Radia (active directory based) to SCCM. We have been using AD groups to entitle and not entitle workstations to applications. There are instances where some machines cannot have certain applications (i.e., part of a department that cannot use a newer version of acrobat reader since it breaks a custom app) and we have an exception group that is checked prior to application deployment.

Is there anyway to check active directory group membership from within a wise install script?