public static boolean isValidHeartbeatPeriodLog(final byte period) {
        if (period >= 0x00 && period < 0x11)
            return true;
        throw new IllegalArgumentException("Period log must be within the range of 0x00 to 0x11!");
    }
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