public static boolean isAddressInRange(@NonNull final byte[] address) {
        return address.length == 2 && isAddressInRange((address[0] & 0xFF) << 8 | address[1] & 0xFF);
    }
Abstract class for bluetooth mesh addresses
mesh/src/main/java/no/nordicsemi/android/mesh/utils/MeshAddress.java