public static boolean isLmdbDataFile(final Path file) {
        return file != null
                && (file.endsWith(DATA_FILE_NAME) || file.endsWith(LOCK_FILE_NAME));
    }
@param localDir                The directory where the LMDB env will be persisted or read from if it
                               already exists.
@param name                    A name for the environment.
@param env                     The actual LMDB env.
@param envFlags                The flags used when the LMDB env was created. Mostly for debug purposes.
@param isReaderBlockedByWriter Set to true if you want writes to block reads. If false reads can happen
                               concurrently with writes. Writes always block other writes.
@param isDedicatedDir          True if localDir is dedicated to this LMDB env and contains no other files.
                               When {@link LmdbEnv#delete()} is called, if isDedicatedDir is true,
                               localDir will be deleted, else it will just delete the LMDB .mdb files and
                               leave localDir present.
stroom-lmdb/src/main/java/stroom/lmdb/LmdbEnv.java