IsProducer
bool IsProducer() const;
if (endpoint->IsProducer()) {
if (endp->IsProducer()) {
if ((endp != NULL) && !endp->IsProducer()) {
if (endp->IsProducer()) {
if ((endp1 != NULL) && endp1->IsProducer()) {
if (endp->IsProducer()) {
if (endp->IsProducer()) {