def get_group_name(group: DXFGroup, db: 'EntityDB') -> str:
    ' Get name of `group`. '
    group_table = cast('Dictionary', db[group.dxf.owner])
    for (name, entity) in group_table.items():
        if (entity is group):
            return name
Get name of `group`.
def get_group_name(group: DXFGroup, db: 'EntityDB') -> str:
    '  '
    group_table = cast('Dictionary', db[group.dxf.owner])
    for (name, entity) in group_table.items():
        if (entity is group):
            return name