Before Hannah can leave the house, she must turn all four gas burners on her stove on and off 24 times, each in sequence. She performs this ritual because she does not trust her memory and fears she can't be sure the burners are actually off unless she does this. Hannah is demonstrating which cognitive characteristic of OCD?