class VersionHandler {

	static boolean isReadyToRollback() {
		LoggingService.logDebug(MODULE_NAME, "Checking is ready to rollback");
		String[] backupsFiles = new File(BACKUPS_DIR).list();
		boolean isReadyToRollback = !(backupsFiles == null || backupsFiles.length == 0);
		LoggingService.logDebug(MODULE_NAME, "Is ready to rollback : " + isReadyToRollback);
		return isReadyToRollback;
	}

}