public static boolean isValidHeartbeatPublicationTtl(final int ttl) {
        return ttl <= 0x7F;
    }
Validates heart beat publication ttl.

@param ttl Heartbeat publication ttl.
@return true if valid or false otherwise.
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshParserUtils.java