I often use result = data & 0x08, etc. It will do 0->1 if result is of type bool. Hooray implicit casting. Have to be careful, Java / Ruby doesn't have this implicit casting, and some may not be aware of it.

But it beats the hell out of:
result = (bool)(data & 0x08);
Or the more terse:
result = !!(data & 0x08);