code: private static boolean isValuelessAttribute(String attribName) {
      boolean valueless = VALUELESS_ATTRIB_NAMES.contains(
          Strings.toLowerCase(attribName));
      return valueless;
    }
docs: Can the attribute appear in HTML without a value.