Does your quantity take only the values 0 or 1?
1 yes
2 no