def METHOD_NAME(self, group_info):
    """Map ldap group names into ralph names if mapping defined."""
    if self.ldap_groups:
        for dn in group_info[1]['distinguishedname']:
            mapped = self.ldap_groups.get(dn)
            if mapped:
                return mapped
    # return original name if mapping not defined
    else:
        return super(
            MappedGroupOfNamesType,
            self
        ).METHOD_NAME(group_info)