title: Check if a string is a template literal in JavaScript
body: <p>Is it possible to test if a string is a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals" rel="noreferrer">template literal</a>? </p>
  
  <p>Something like: </p>
  
  <pre><code>const x = "foo"
  const y = `${x}bar`  // "foobar"
  
  isTemplateLiteral(x) // false
  isTemplateLiteral(y) // true
  </code></pre>