He was a British citizen, so no, it wouldn't have helped. Home-grown extremism is the problem, not foreign terrorism. Banning visitors will not help fix the situation. It's something that can only be fixed with careful, long-term strategies and support. Reactionary, populist policies like the travel ban can end up doing more harm than good.