>>> from representatives import quant_votes >>> d = {'Anna': 3, 'Arnau':0, 'Enric': 5, 'Josep': 1, ... 'Pol': 1, 'Roger': 2, 'Zaira': 0, 'nuls': 1} >>> quant_votes(d, 'Enric') (True, 5) >>> quant_votes(d, 'Pau') (False, -1)