# Functions
IsCompletedExperimentRestartable returns whether experiment is restartable or not Experiment is restartable only if it is in succeeded state by reaching max trials and ResumePolicy = LongRunning or ResumePolicy = FromVolume.
UpdateExperimentStatus checks if objective goal is reached and updates Experiment status from current Trials.
UpdateExperimentStatusCondition updates the experiment status.