'Recursively iterate over all sub-:class:`Group` instances in
this :class:`Group`.'

def iter_groups(self):

    for entry in self.entries:
        if isinstance(entry, Group):
            (yield entry)
            for group in entry.iter_groups():
                (yield group)
