internal static bool IsSet(UInt32 value, UInt32 bit) { if (value == bit) return true; return ((value & bit) != 0); // generic, means i don't have to be exact on settings. }