Create DRS Rules - VM are not in any DRS rule group

I would like to include this feature into the vcheck script. It checks if a VM is not present in a DRS group.

I wanted to know how to implement this feature into your vcheck script.

Thanks