I am trying to verify that a web element does not exist based on a database flag. Based on the flag, a notification badge will display on-screen. To verify that it displays when the DB flag = TRUE, I am using element.isvisible. This will not work for verifiying when the DB flag = FALSE because the element is not created and cannot be found (so the test fails). I am assuming (perhaps incorrectly) that I can somehow use some type of NOT EXISTS on the element. How would this be done or is this even the best way to go about it?