public static boolean isPresent(final Path dataDir) throws IOException {
    return getDefaultMetadataFile(dataDir).exists();
  }
Is the metadata file present in the specified data dir?

@param dataDir the dir to search for the metadata file
@return true is the metadata file exists, false otherwise
@throws IOException if there is an error trying to access the metadata file
plugins/rocksdb/src/main/java/org/hyperledger/besu/plugin/services/storage/rocksdb/configuration/DatabaseMetadata.java