title: Check if any radio input is checked
body: <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>if (document.querySelector("input[name='maca']")).getAttribute("checked")</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input type="radio" name="maca" id="maca1"&gt;
  &lt;input type="radio" name="maca" id="maca2"&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>I want to check if any one of the input type radio buttons with the same name is checked.</p>