return self.mode == mode