Sitecore How to check if an Item has a certain field
<p>For the sitecore item <code>testItem</code> how can I make sure that this item has the field "<code>Title</code>". </p>

<p>I am asking because I am creating some fields in an item's template programmatically. So a field should not be created again if it already exists. </p>

<p>Because with this code I can get if the field has some value or not. </p>

<pre><code>testItem["Title"] 
testItem.Fields["Title"] 
</code></pre>