boolean (@NotNull Path patchPath) { PatchInfo patchInfo = getInfoFromCache(patchPath); if (patchInfo == null) { return false; } try { return Files.getLastModifiedTime(patchPath).toMillis() != patchInfo.myLoadedTimeStamp; } catch (IOException e) { return false; } }