What's wrong with the true-ish test? I think that catches false, undef, undefined, empty strings.