I have a class called Product and I want to check if there is already a product in the database with the same title.
class Product(models.Model):
title = models.CharField(max_length=255)
...
for (something in something):
check if db contains product with a title of 'Some Product'