Check If A Variable Is None Python