docs: public FormValidation doCheckViewName(@QueryParameter String value) {
          checkPermission(View.CREATE);
  
          String name = fixEmpty(value);
          if (name == null)
              return FormValidation.ok();
  
          // already exists?
          if (getView(name) != null)
              return FormValidation.error(Messages.Hudson_ViewAlreadyExists(name));
  
          // good view name?
          try {
              checkGoodName(name);
          } catch (Failure e) {
              return FormValidation.error(e.getMessage());
          }
  
          return FormValidation.ok();
      }