Are They Paying Attention? A Model-Based Method to Identify Individuals' Mental States