I am working on the question where the program has to return true if there if any value appears at least twice in the array, and it should return false if every element is d