Fixed comment for hasFlag().