Julian Barnes said this quote

I remember what Old Joe Hun said when arguing with Adrian: that mental states can be inferred from actions. That’s in history—Henry VIII and all that. Whereas in the private life, I think the converse is true: that you can infer past actions from current mental states.