code: public String checkbox (String name, boolean defaultValue)
      {
          String value = getParameter(name);
          return fixedCheckbox(
              name, (value == null) ? defaultValue : !value.equals(""));
      }
docs: Constructs a checkbox input field with the specified name and
  default value.