docs: private boolean performDefineOperation() throws CmsException {
  
          boolean useTempfileProject = Boolean.valueOf(getParamUsetempfileproject()).booleanValue();
          try {
              if (useTempfileProject) {
                  switchToTempProject();
              }
              String newProperty = getParamNewproperty();
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(newProperty)) {
                  getCms().createPropertyDefinition(newProperty);
                  return true;
              } else {
                  throw new CmsException(Messages.get().container(Messages.ERR_INVALID_PROP_0));
              }
          } finally {
              if (useTempfileProject) {
                  switchToCurrentProject();
              }
          }
      }