title: Better option to check if a particular instance exists django
body: <p>Which of the two is a better and efficient option to check if an instance exists. There can only be one record returned at most.</p>
  
  <p>1) Use the filter option and see if it exists:</p>
  
  <pre><code>x = MyObject.objects.filter(someField=someValue).count()
  if x:
      #Instance exists
  </code></pre>
  
  <p>2) Use get and check for exception:</p>
  
  <pre><code>try:
      x = MyObject.objects.get(someField=someValue)
  except MyObject.DoesNotExist:
      #Do Something
  </code></pre>
  
  <p>Which of the above mentioned methods is efficient or more "Djangoic" ?</p>