Foobar List Checker

Determine whether or not each distinct pairing of values in the input list sums to either an even value or a value greater than 50. Return true if all pairs have this property, false otherwise.
	def foobar(listOfValues):
	    happiness = True
	    outer = 0
	    while ((outer < len(listOfValues)) and happiness):
	        inner = outer + 1
	        while ((inner < len(listOfValues)) and happiness):
				sum = listOfValues[inner] = listOfValues[outer]
	            if ((sum % 2 == 1) and (sum <= 50)):
	                happiness = False
	            inner = inner + 1
	        outer = outer + 1
	    return (happiness)