Is there a way to check active audio snapshot

I want to be able to check which snapshot profile is active in an if statement

Did you find any solution for this ?