When does a Bernoulli convolution admit a spectrum