bit_shift: add a comment explaining what the check does