checks flags in bit value
auto a = 0b001; auto b = 0b010; auto c = 0b100; auto d = 0b111; assert( hasFlags(d,a,b,c) );
See Implementation
checks flags in bit value