public static byte[] addKeyIndexPadding(final Integer keyIndex) {
        return ByteBuffer.allocate(2).order(ByteOrder.BIG_ENDIAN).putShort((short) (keyIndex & 0x0FFF)).array();
    }
Checks if the IV Index is valid.

<p>
The IV Index is a 32-bit value that is a shared network resource
(i.e., all nodes in a mesh network share the same value of the IV Index
and use it for all subnets they belong to). The IV Index starts at 0x00000000
</p>

@param ivIndex IV Index value
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshParserUtils.java