結果 : check if shared pointer is not null