'if self.q_stmt:' also works.