public static bool IsSet(this InjectFlags flags, InjectFlags flag) { return flag == (flags & flag); }