SharePoint 2010: How check if a folder exists

In SharePoint client object model, I needed to check if a folder exists.
In the post How to check if folder subfolder already exists in SharePoint document library using SharePoint web service I have found the (almost) correct query to be used. It is missing and close and open <Eq> tag.

The correct version is:
<Query><Where>
<And>
<Eq>
<FieldRef Name='FileLeafRef' />
<Value Type='Text'>[your Folder name]</Value>
</Eq>
<Eq>
<FieldRef Name='FSObjType'/>
<Value Type='Text'>1</Value>
</Eq>
</And>
</Where></Query>