class SetupDataBaseService {

    public boolean isDalInitialized() {
        if (!initialized) {
            synchronized (LOCK) {
                try {
                    initialized = resourceExists(DATASOURCE_XML);
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
        }

        return initialized;
    }

}