boolean (@NotNull Object dependency, long oldTimeStamp) { if (dependency instanceof CachedValueBase) { return !((CachedValueBase<?>)dependency).hasUpToDateValue(); } final long timeStamp = getTimeStamp(dependency); return timeStamp < 0 || timeStamp != oldTimeStamp; }