結果 : how to check if variable is not none in python