Created function that returns #t if have repeats.