code: protected void addExportVariableIfPresent(String variable, String typeName) {
          String expVar = findPropertyValue(variable).getLatestValue();
          if(expVar != null && !expVar.isEmpty()) {
              addVariable(new CodeVariableBuilder().exportOnly().variableType(typeName).variableName(expVar));
          }
      }
docs: Adds a variable for export only when a property is present
  @param variable the variable name (and also the expected property value)
  @param typeName the type name