結果 : check if value is not none python