title: jQuery return true or false if a div contains a <p> tag
body: <p>Let's see:</p>
  
  <pre><code>&lt;div&gt;&lt;p&gt;this div contains a p tag&lt;/p&gt;&lt;/div&gt;
  &lt;div&gt;this one is not&lt;/div&gt;
  </code></pre>
  
  <p>How do i assign a variable with a boolean value (true or false) if a div contains a specific tag like p in the above example?</p>