def has_bot_set_ni(self, bug): if not self.has_flags: raise Exception return utils.has_bot_set_ni(bug)