boolea b=false;
Context cx = Context.enter();
try {
Scriptable scope = cx.initStandardObjects();
Object result = cx.evaluateString(scope, 公式, null, 1, null);
b = Context.toBoolean(result);
return b;
} catch (Exception e) {
return b;
} finally {
Context.exit();
}