public static boolean convertBooleanFromBytes(byte[] byteArray) {
        return convertBooleanFromBytes(byteArray, 0); 
    }
Read in a boolean from an InputStream

@param inputStream
           The InputStream used to read the boolean
@return A boolean, which is the next byte converted from the InputStream (iow, byte != 0)
@throws IOException
            Thrown if there is a problem reading from the InputStream
jme3-core/src/plugins/java/com/jme3/export/binary/ByteUtils.java