code: private Boolean getInitialValueForUseDefaultLocationOption(CmsResource folderResource) {
  
          String rootPath = folderResource.getRootPath();
          return Boolean.valueOf(OpenCms.getSiteManager().getSiteForRootPath(rootPath) != null);
      }
docs: Gets the initial value for the 'default location' option.<p>
  
  @param folderResource the current folder
  
  @return the initial value for the option