Actually, not at all. It's directly measurable
http://www.ncbi.nlm.nih.gov/pubmed/17833905"The pupil response not only indicates mental activity in itself but shows that mental activity is closely correlated with problem difficulty, and that the size of the pupil increases with the difficulty of the problem"