presto-raptor-legacy/src/main/java/io/prestosql/plugin/raptor/legacy/systemtables/ValueBuffer.java/ValueBuffer/getBoolean
class ValueBuffer:    public boolean getBoolean()
    {
        checkState(!isNull());
        checkArgument(type.getJavaType() == boolean.class, "Type %s cannot be read as boolean", type);
        return (Boolean) value;
    }