o.isInsured = function () { return !!this.insured; }
Why don't be like normal people and use bool() cast?