new_dict = {'value': 'some value', 'key': 'somekey'}
differ = 0
matched = 0
for element in my_list:
    if type(element) is dict and matched != 0:
        differ = 0
if element.keys() == new_dict.keys():
    for key in list(element.keys()):
        if element[key] != new_dict[key]:
            differ = 1
matched = 1
if differ != 1:
    my_list.remove(new_dict)
print(my_list)
python - remove dictionary from list if exists