public boolean hasVariable(String name) {
        return context != null && context.containsKey(name);
    }
Returns true if this variable is present, even if it is null
docproc/src/main/java/com/yahoo/docproc/Processing.java