code: public static BooleanTemplate booleanTemplate(Template template, List<?> args) {
          return new BooleanTemplate(template, ImmutableList.copyOf(args));
      }
docs: Create a new Template expression
  
  @param template template
  @param args template parameters
  @return template expression