collab: Factor out subscription kind determination (#30955)

This PR factors out the code that determines the `SubscriptionKind` into
a separate method for reusability purposes.

Release Notes:

- N/A
c76295251bMarshall Bowers committed on 5/19/2025, 1:22:56 PM· committed by GitHubparentb057b46
2 files changedLine totals unavailable