config: Add optional support to Boolean type