Task-based fMRI isn't bad for that sort of thing. I mean, it's not magic-lie-detector level, but I wouldn't be surprised if you could get a real classification between Sanders and Trump supporters—or, perhaps more likely, between ardent Sanders/Trump supporters and less ardent supporters of any candidate.