結果 : python check optional is not none