hasDuplicateNames

Check whether a folder contains multiple entries with the same name.