Return true if the function pred returns true for all elements of list, and false otherwise.