結果 : check if pointer is valid