DuplicateCheck function

Check Data for Duplicates.