public static boolean isLast(
     SnapshotDto snapshotTested, @Nullable SnapshotDto previousLastSnapshot) {
   return previousLastSnapshot == null
       || previousLastSnapshot.getCreatedAt() < snapshotTested.getCreatedAt();
 }