結果 : check if is not none python