Seems that OptionsResolver allowedValues dont work with boolean