結果 : check if string is not none python