var Bar1Max = parseInt(obj.get("bar1_max")); If the token doesn't have any value set in bar 1 max, it will error out in the API that the object doesn't have a get method.   TypeError: Object [object Object] has no method 'get' at evalmachine.<anonymous>:184:40 at Array.forEach (native) at Function._.each._.forEach (/home/symbly/www/d20-api-server/sandcastle/node_modules/underscore/underscore.js:78:11) at Sandbox.<anonymous> (evalmachine.<anonymous>:180:11) at eval (  So how do I test to see if it exists without using get?