'The function for summarizing RDAP notices in to a unique list.
https://tools.ietf.org/html/rfc7483#section-4.3
Args:
notices_json: A json dictionary of notices from RDAP results.
Returns:
List: A unique list of found RDAP notices dictionaries.'

def summarize_notices(self, notices_json):

    ret = []
    for notices_dict in notices_json:
        tmp = {'title': None, 'description': None, 'links': None}
        try:
            tmp['title'] = notices_dict['title']
        except (KeyError, ValueError, TypeError):
            pass
        try:
            tmp['description'] = '\n'.join(notices_dict['description'])
        except (KeyError, ValueError, TypeError):
            pass
        try:
            tmp['links'] = self.summarize_links(notices_dict['links'])
        except (KeyError, ValueError, TypeError):
            pass
        if all(tmp.values()):
            ret.append(tmp)
    return ret
