Test for flags