title: How to check for existing meta tag before generating a new one with javascript (or jquery)?
body: <p>I'm developing a widget that creates basic SEO tags that could already exist on a page so I'm wanting to make sure the widget checks for existing tags before the new tag is generated.</p>
  
  <p>For example, one of the tags that the widget produces is </p>
  
  <p><code>&lt;meta name="description" content="Description of the webpage"/&gt;</code></p>
  
  <p>Since this tag is one that most pages already have, is there a way to use javascript to check for the tag before writing it?</p>