def majority_label(listInst):
	"""Return the boolean label with the most weight in the given list of
	instances.

	>>> majority_label([Instance([],True,1.0),Instance([],False,0.75)])
	True
	>>> listInst =[Instance([],False),Instance([],True),Instance([],False)]
	>>> majority_label(listInst)
	False"""
	
	posWeight = 0.0
	negWeight = 0.0
	for inst in listInst:
		if inst.fLabel == True: posWeight += inst.dblWeight
		else:	negWeight += inst.dblWeight
	
	return True if posWeight >= negWeight else  False