Add streamchannel::isSubscriberOrPublisher