結果 : check if shared pointer is nullptr