public String getCountLogDescription() {
        if (countLog == 0x00 || countLog == 0x01)
            return String.valueOf(countLog);
        else if (countLog >= 0x02 && countLog <= 0x10) {
            final int lowerBound = (int) (Math.pow(2, countLog - 1));
            final int upperBound = Math.min(0xFFFE, (int) (Math.pow(2, countLog)) - 1);
            return lowerBound + " ... " + upperBound;
        } else {
            return "More than 65534"; //0xFFFE
        }
    }
Returns true if the heartbeat subscriptions are enabled.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/HeartbeatSubscription.java