public boolean isInstallLocation(String path) { if (path == null || path.length() == 0) { String message = Logging.getMessage("nullValue.FileStorePathIsNull"); Logging.logger().severe(message); throw new IllegalArgumentException(message); } StoreLocation location = this.storeLocationFor(path); return location != null && location.isInstall(); }