Check If Variable Is Not Null Python