code: def in_group(self, group, dn=False):
          
          if dn:
              return group in self.groups()
          return group.check_member(self)
docs: Get whether or not the bound CSH LDAP member object is part of a
          group.
  
          Arguments:
          group -- the CSHGroup object (or distinguished name) of the group to
                   check membership for