def fail(self):
if self.failed is True:<EOL><INDENT>raise AttributeError("<STR_LIT>".format(self))<EOL><DEDENT>else:<EOL><INDENT>self.failed = True<EOL>self.time_of_death = timenow()<EOL><DEDENT>
Fail a question.

        Set :attr:`~dallinger.models.SharedMixin.failed` to True and
        :attr:`~dallinger.models.SharedMixin.time_of_death` to now.