code: def get_members_of_group(self, gname):
          
          contactgroup = self.find_by_name(gname)
          if contactgroup:
              return contactgroup.get_contacts()
          return []
docs: Get all members of a group which name is given in parameter
  
          :param gname: name of the group
          :type gname: str
          :return: list of contacts in the group
          :rtype: list[alignak.objects.contact.Contact]