Basically I absolutely give a fuck about the way how (with or without theoretical knowledge) a solo was created, as far it´s good at the end. In the most cases a fine musical hearing is enough to perform a nice solo, but the hearing is absolutely essential! A good lead player should be able to hear, when notes are better to avoid. If this is not the case, I recommend to learn some ear training, to improve the improvisation skills 
