presto-rcfile/src/main/java/io/prestosql/rcfile/text/BooleanEncoding.java/BooleanEncoding/isTrue
class BooleanEncoding:    @SuppressWarnings("PointlessArithmeticExpression")
    private static boolean isTrue(Slice slice, int start, int length)
    {
        return (length == 4) &&
                (toUpperCase(slice.getByte(start + 0)) == 'T') &&
                (toUpperCase(slice.getByte(start + 1)) == 'R') &&
                (toUpperCase(slice.getByte(start + 2)) == 'U') &&
                (toUpperCase(slice.getByte(start + 3)) == 'E');
    }