presto-spi/src/main/java/io/prestosql/spi/type/BooleanType.java/BooleanType/getBoolean
class BooleanType:    @Override
    public boolean getBoolean(Block block, int position)
    {
        return block.getByte(position, 0) != 0;
    }