function tf = isVarInInitialState(var, lvdData)
    initStateModel = lvdData.initStateModel;
    initStateModelOptVars = initStateModel.getAllOptVars();
    
    tf = false;
    for(i=1:length(initStateModelOptVars))
        isVar = initStateModelOptVars(i);

        if(var == isVar)
            tf = true;
            break;
        end
    end
end
Arrowstar
github-repos/MATLAB/Arrowstar-ksptot/ksptot-2b414440d3b167ba2294f56dafce0f465c07f982/helper_methods/ksptot_lvd/classes/Validation/Validators/isVarInInitialState.m
ksptot
github-repos/MATLAB/Arrowstar-ksptot
2b414440d3b167ba2294f56dafce0f465c07f982