Added function isGroup to determine if a distinguished name is a group