API call to detect silent mode status

Does anyone know of an iOS API call that would return the status of silent mode?

API call to detect silent mode status
 
 
Q