title: Jena - How to know whether a specific resource is in the model?
body: <p>I am trying to discover whether I had a specific resource in the model. For that I am using:</p>
  
  <pre><code>model.getResource("example")
  </code></pre>
  
  <p>Checking the doc, this method behaves exactly as createResource. Then, even if it is not in the model, I will get a new resource.</p>
  
  <p>How can I check I have the resource avoiding its creation when it's not?</p>
  
  <p>Thanks in advance!</p>