 By replacing “p” with a sentence, we specify the content of X’s mental state. Propositional attitudes have  intentionality  or aboutness: they are about a subject matter. For that reason, they are often called intentional states.