public static boolean isValidDefaultTtl(final int ttl) {
        return (ttl == MIN_TTL || (ttl >= 0x02 && ttl <= MAX_TTL));
    }
Checks if the ttl value is within the allowed range.

<p>
0x00, 0x02 - 0x7F are the Default TTL states.
0x01, 0x80 and 0xFF are Prohibited.
</p>

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