class CommitStateHelper {

    public boolean hasTxLogs( DatabaseLayout databaseLayout ) throws IOException
    {
        return LogFilesBuilder.activeFilesBuilder( databaseLayout, fs, pageCache ).withConfig( config ).build().logFiles().length > 0;
    }

    public  CommitStateHelper( PageCache pageCache, FileSystemAbstraction fs, Config config );

}