I know you 'or' things together when using style masks and stuff, so how do you determine if a value has been 'or'ed into the resulting value.

Like:
Code:
long a;
a = 9 | 3;
so later on in the app, how do I determine that a contains 9?