Use isTrueWhenEqual and isFalseWhenEqual instead of assuming that