if (n == null) {
if (n == null || n == NOT_FOUND) {
    public Object jsFunction_get(Object id) {        if ((node == null) || (id == null)) {            return null;        }        Object n = null;        if (id instanceof Number) {            n = get(((Number) id).intValue(), this);        } else if (id != null) {            // try to get as property first            n = getFromNode(id.toString());            // then try to get child object by id            if (n == null) {                n = jsFunction_getById(id);            }        }        // since we're calling Scriptable.get() methods, we'll get NOT_FOUND rather        // than null if a property is not defined.        if (n == null || n == NOT_FOUND) {            return null;        }        return n;    }