quick question here...

What is the difference between...

```
if ((flags & bit1) == bit1) {
    // ...
}

```

and...

```
if (flags & bit1) {
    // ...
}

```

?

That's all. Pretty sure this has been answered before, but I haven't been able to find it.