/** Returns whether an action envelope targets one of the subscribed channel URIs. */
export function isActionEnvelopeRelevantToSubscriptionUris(envelope: ActionEnvelope, subscribedUris: Iterable<string>): boolean {
for (const uri of subscribedUris) {
if (isAhpRootChannel(uri)) {
return true;
}
return false;
}