Is there an API to figure out if builtInTelephotoCamera is 2x or 3x zoom?

Various iPhones have different zoom values for the telephoto camera. Is there an API to grab this value or do I have to write a switch over current device?

Is there an API to figure out if builtInTelephotoCamera is 2x or 3x zoom?
 
 
Q