def METHOD_NAME(self):
    if not self.training:
        return False
    if self.linseg_progress.item() < self.linseg_maximum:
        if self.linseg_message_state == "start":
            print("| using LinSeg to initialize ASG")
            self.linseg_message_state = "finish"
        self.linseg_progress.add_(1)
        return True
    elif self.linseg_message_state == "finish":
        print("| finished LinSeg initialization")
        self.linseg_message_state = "none"
    return False