結果 : check if value not none python