Create a boolean attribute properly