public static boolean isAlreadyRunning(MessageHandler handler) {
        boolean alreadyRunning;
        try {
            JUnique.acquireLock(APP_ID, handler);
            alreadyRunning = false;
        } catch (AlreadyLockedException e) {
            alreadyRunning = true;
        }

        return alreadyRunning;
    }