Implementing primitive Bool operations