pub fn check_total(t: &str) -> Result<(), String>
A total:: a function name, or a formula with {name:*} references only.
total:
{name:*}