Use this helper inside epics that observe whether a feature is currently using audio.
When isActive is true, it returns claimAudioFocus; when false, it returns
releaseAudioFocus for the same ownerId. The claim argument must therefore contain
the full metadata needed for claiming even though only ownerId is used on release.
Converts a boolean active state into the corresponding claim or release action.