In Python, the 'null' object is the singleton None.
So the best way to check things for "Noneness" is to use the identity operator, ‘is’ see the code example below:-
if abc is None:
…
To know more about this you can have a look at the following video tutorial:-