Is this the right place to ask questions about pillar ?

I am trying to write documentation using pillar. I am now stuck at conditional printing and on the contrary to my previous issues I didn't find examples in other documentation written in pillar.��

In latex, I would do conditional printing this way:

\newif \ifsol
\sol true
\ifsol paragraph display if sol is true \fi

and depending if I put true or false in the variable sol, the paragraph is displayed or not.

Then I can print two version of my document with different texts at specific parts depending on this variable.

I tried multiple ways in pillar, but I can't achieve the same result. What is the right way to do conditional printing in pillar ?

Thanks !

Clement