Rename `isopt()` to `isflag()`