python django most efficent way to check if a object is already in the databas code example Example: check django object exists modelName.objects.filter(pk='id').exists()