public byte getCountLog() {
        return countLog;
    }
Validates heart beat period log.

@param period Heartbeat publication period.
@return true if valid or false otherwise.
@throws IllegalArgumentException if the value does not range from 0 to 17.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/Heartbeat.java