This API seems woefully incomplete. It really should include operations on booleans, not just storage and retrieval. I'd much rather use a tested, well written, and efficient AND operation on your server than risk writing my own and potentially screw it up.