How To Check If A Value Is None In Python