title: Assert an element is not present in the dom using GEB
body: <p>I am trying to verify a page based on who logs in. Certain users have more security and will see more items on the page. When a user with lower security logs in, they will not see options. I need to verify those options are not present on the page. </p>
  
  <p>I have a page object for the option that displays based on user security </p>
  
  <pre><code>testObject {$("#test")}
  </code></pre>
  
  <p>I have tried using isDisplayed()</p>
  
  <pre><code>boolean hidden =  testObject.isDisplayed()
  assert !hidden
  </code></pre>
  
  <p>But I keep getting an error that says </p>
  
  <blockquote>
    <p>geb.error.RequiredPageContentNotPresent: The required page content
    geb.navigator.EmptyNavigator' is not present</p>
  </blockquote>
  
  <p>The error message is what I want to verify. The object is not present, and I need to verify that is true and pass the test.  </p>