why is double negation useful in shiftOut for example?

Ahh, That makes perfect sense, no matter what the outcome of the bitwise AND was, there will always be a 1 in Bit 0, which is the bit we are sending to the pin

Thanks and big ups for a perfect explanation. While in the particular case we are only testing for low, it is resilient for the more general case.