code: def linkify_contactgroups_contacts(self, contacts):
          
          for contactgroup in self:
              mbrs = contactgroup.get_contacts()
  
              # The new member list, in id
              new_mbrs = []
              for mbr in mbrs:
                  mbr = mbr.strip()  # protect with strip at the beginning so don't care about spaces
                  if mbr == '':  # void entry, skip this
                      continue
                  member = contacts.find_by_name(mbr)
                  # Maybe the contact is missing, if so, must be put in unknown_members
                  if member is not None:
                      new_mbrs.append(member.uuid)
                  else:
                      contactgroup.add_unknown_members(mbr)
  
              # Make members uniq
              new_mbrs = list(set(new_mbrs))
  
              # We find the id, we replace the names
              contactgroup.replace_members(new_mbrs)
docs: Link the contacts with contactgroups
  
          :param contacts: realms object to link with
          :type contacts: alignak.objects.contact.Contacts
          :return: None