Returns true if this Flags has the flag enabled, false otherwise.
true
flag
false
bool has(Flag<T> flag) => value & flag.value != 0;