Intermittent fasting can have health benefits, but does being hungry affect our cognitive abilities? Here’s what all the evidence tells us.