hasConflict

fun hasConflict(existingNames: Set<String>, candidate: String): Boolean