Is there a meaningful difference between
if self.pk is not None:
and
if self.pk:
when checking a model field in python django?
Other languages have all kinds of differing 'correct' ways to check for a variable being null, empty, nonexistant, whatever.
a) I don't know how python handles the check
b) I don't know if this is important and / or meaningful in the context of django model fields