Checks if the specified flag is set in this bit field.
true if the flag is set, false otherwise
The flag to check