Is the k-NN classifier in high dimensions affected by the curse of dimensionality?