<p>For example for the following XML</p>

<pre><code> &lt;Order&gt;
  &lt;Phone&gt;1254&lt;/Phone&gt;
  &lt;City&gt;City1&lt;/City&gt;
  &lt;State&gt;State&lt;/State&gt;
 &lt;/Order&gt;
</code></pre>

<p>I might want to find out whether the XElement contains "City" Node or not. </p>

Just use the other overload for
Elements
.
```
```
bool hasCity = OrderXml.Elements("City").Any();
```
```