FSX:SE Check the Camera - internal or external view?

Is there a way to find out if the active camera is in the cockpit or the external view? I just finished adding some rattling and wind sounds to the Vega and would like to disable those when the external camera is active. I'd need that both for FSX and P3D. Any ideas?