Check if the sibling of an element has a child that is a checkbox in jquery
<p><strong>HTML Code:</strong></p>

<pre><code>&lt;div&gt;
    &lt;div&gt;
        &lt;input id="chkA" type="checkbox" name="chkA"&gt;           
    &lt;/div&gt;                                                  
    &lt;div&gt;A&lt;/div&gt;
    &lt;div id="A"&gt;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p><strong>Context is:</strong></p>

<pre><code>&lt;div id="A"&gt;&lt;/div&gt;
</code></pre>

<p><strong>Problem:</strong></p>

<p>I want to navigate to the first sibling of <code>&lt;div id="A"&gt;&lt;/div&gt;</code> and check if it has a child of type input/checkbox.</p>
