code: public static boolean set(String value) {
          if (StringUtil.isEmpty(value)) {
              throw new IllegalArgumentException("Can not set an empty msgId. If you want to clear msgId of current context, use clear() instead.");
          }
          if (Objects.equals(value, MsgIdHolder.get())) {
              //no need make sure, return false
              return false;
          } else {
              //overwrite the old value
              singleton.set0(value);
              return true;
          }
      }
docs: Set the msg id of current context
  
  @param value the msg id, can not be null
  @return false if old value is the same as new value, true otherwise.