public boolean isUnsubscribed ( int restartableId ) { Subscription subscription = restartableSubscriptions . get ( restartableId ) ; return subscription == null || subscription . isUnsubscribed ( ) ; }
Checks if a restartable is unsubscribed .