The verb 'ask' in 'ask yourself' is a reflexive verb.
verb that demonstrates that the action is occurring to the subject of the sentence (Grammar)
a verb whose agent performs an action that is directed at the agent; "the sentence `he washed' has a reflexive verb"; "`perjure' is a reflexive verb because you cannot perjure anyone but yourself
A reflexive verb is a transitive verb whose subject and object always refer to the same person or thing, so the object is always a reflexive pronoun. An example is `to enjoy yourself', as in `Did you enjoy yourself?'