presto-spi/src/main/java/io/prestosql/spi/session/PropertyMetadata.java/PropertyMetadata/booleanProperty
class PropertyMetadata:    public static PropertyMetadata<Boolean> booleanProperty(String name, String description, Boolean defaultValue, boolean hidden)
    {
        return new PropertyMetadata<>(
                name,
                description,
                BOOLEAN,
                Boolean.class,
                defaultValue,
                hidden,
                Boolean.class::cast,
                object -> object);
    }