def METHOD_NAME(self):
    if self.is_in_stage():
        if self.in_stage_timer.reached():
            logger.info('In stage.')
            self.ensure_no_info_bar(timeout=1.2)
            raise CampaignEnd('In stage.')
        else:
            return False
    else:
        if self.appear(MAP_PREPARATION, offset=(20, 20)) or self.appear(FLEET_PREPARATION, offset=(20, 20)):
            self.device.click(MAP_PREPARATION_CANCEL)
        self.in_stage_timer.reset()
        return False