docs: public static boolean isSnapshotFile(File file) {
      checkNotNull(file, "file cannot be null");
      String fileName = file.getName();
  
      // The file name should contain an extension separator.
      if (fileName.lastIndexOf(EXTENSION_SEPARATOR) == -1) {
        return false;
      }
  
      // The file name should end with the snapshot extension.
      if (!fileName.endsWith("." + EXTENSION)) {
        return false;
      }
  
      // Parse the file name parts.
      String[] parts = fileName.substring(0, fileName.lastIndexOf(EXTENSION_SEPARATOR)).split(String.valueOf(PART_SEPARATOR));
  
      // The total number of file name parts should be at least 2.
      if (parts.length < 2) {
        return false;
      }
  
      // The second part of the file name should be numeric.
      // Subtract from the number of parts to ensure PART_SEPARATOR can be used in snapshot names.
      if (!isNumeric(parts[parts.length - 1])) {
        return false;
      }
  
      // Otherwise, assume this is a snapshot file.
      return true;
    }