結果 : check if not none python