That’s exactly how the current ESTA and visa questionnaires work. They literally have questions like are you a terrorist and have you severely oppressed people on religious grounds. I can’t imagine anyone answering yes to any of the questions, which, to me, makes them pointless.
4 Likes