結果 : check if not none in python