When you ask yourself whether you should cast a close vote because of duplication, it really does not matter whether it has an accepted answer or not.
One of the goals of marking questions as duplicate is to keep only one question about the problem open so that this one question can accumulate all the good answers that people propose instead of having these answers be spread about on a dozen duplicates.
So if it is a duplicate, then close.
However, whether a question has an accepted answer can figure in your decision regarding which question to close. You should vote to close the question which is most worthy of closure: because it is not as high quality as the other, because the answers it has are not good, etc. Having an accepted answer is better than not having one. At the same time this is not the most critical factor. An answer that has been upvoted a few times is better than an answer that has only been accepted but got 0 or 1 upvote. And I've seen accepted answers that were terrible. So...