Yes, older versions were using most of the time "1" or "0", but also for a few attributes yes/no, which was not really consistent.
2.2x versions are now accepting 0/no/false and 1/yes/true everywhere, so you don't have to take care.
Regards,
Pierre-Nicolas