title: Check if a list already exists before creating it
body: <p>I am creating a list definition and a list instance with xml code in my SharePoint 2010 solution. Now, each time I deploy my solution it deletes the list and creates a new one. I only want to create the list if it doesn't exist.</p>
  
  <p>How do I check if the list already exists and where do I put the code?</p>
  
  <p>My list definition and list instance appear among "Items in the Feature" in one of my features.</p>