public static boolean toBoolean(final byte[] b) {
        if (b.length != 1) {
            throw new IllegalArgumentException("Array has wrong size: " + b.length);
        }
        return b[0] != (byte) 0;
    }
Reverses {@link #toBytes(boolean)}

@param b array
@return True or false.
stroom-bytebuffer/src/main/java/stroom/bytebuffer/hbase/Bytes.java