Check if spatial audio setting is activated

Is there a way to programatically check out if the spatial audio setting is activated on an iOS device?

Check if spatial audio setting is activated
 
 
Q