I am a beginner and I have been trying to debug my code for several days now to figure out why my loop in isDuplicate does not seem to work correctly. I\'ve scoured the site for