'Eliminate the key_rd_dict from the list of key_rd_dicts if it is contained in the list.'

def remove_from_key_rd_dicts(self, key_rd_dict, key_rd_dicts):

    k = next(iter(key_rd_dict))
    v = key_rd_dict[k]
    clean_key_rd_dicts = []
    for krd_dict in key_rd_dicts:
        key = next(iter(krd_dict))
        val = krd_dict[key]
        if ((key == k) and (val == v)):
            continue
        clean_key_rd_dicts.append(krd_dict)
    return clean_key_rd_dicts
