Is there a way to check if a consumer EPR is already subscribed for
notifications on a particular resource?
The SimpleNotificationProducer has a subscribe() method, but there is no
corresponding isSubscribed(EPR) method.
I have a resource operation that takes in a consumer EPR and some other
parameters. It will be possible that my operation is called multiple
times with the same consumer EPR. So, in my operation, I want to make
sure that if the consumer is already subscribed, that I don't try to
call the subscribe(EPR) method again. Otherwise, it will unnecessarily
create a new SubscriptionManager instance.