// Check whether only bounded until formulas are contained
for(autoconst&f:formula.getSubformulas()){
STORM_LOG_THROW(f->isBoundedUntilFormula(),storm::exceptions::InvalidPropertyException,"MultiObjective subformulas are only allowed if they all contain bounded until formulas");
STORM_LOG_THROW(formula.isRewardOperatorFormula()&&formula.asRewardOperatorFormula().hasRewardModelName(),storm::exceptions::UnexpectedException,"Unexpected type of operator formula: "<<formula);
STORM_LOG_THROW(formula.getSubformula().isCumulativeRewardFormula()||formula.getSubformula().isTotalRewardFormula(),storm::exceptions::UnexpectedException,"Unexpected type of sub-formula: "<<formula.getSubformula());