How To Check If Value Is None In Python