結果 : check if variable not none python