結果 : python check if variable exists and is not empty