public boolean isUpToDate() {
		// This overly complex test is because some older Java versions seem to return
		// file timestamps with the last three digits set to 0. If we run Jbang on the
		// same script with different JDKs we get continuous Maven resolves because it
		// stores the result with slightly different timestamps. In this way we allow
		// timestamps to be slightly "off" and we'll still assume the artifact to be
		// up-to-date.
		long ts = file.toFile().lastModified();
		return Files.isReadable(file) && (timestamp == ts || (ts % 1000 == 0 && timestamp / 1000 == ts / 1000));
	}
class describing artifact coordinates and its resolved physical location.
src/main/java/dev/jbang/dependencies/ArtifactInfo.java