Check for std::shared_ptr