Could someone help me with this. I need to know how to write this in code for C.

"if hashValue(variable) has a non-zero bit in the 4 leftmost (highest) bits"

It has to do with bitwise shifting and is basically just an if statement's condition. Thanks