How to detect the provisioning profile used to run the app ?

Hi, 

Is there a way to tell the application that it is running under a debugging/ad hoc profile ?

I would like to check if it is running in a iOS device for debugging/beta testing so I could safely show pop-ups with variable values, for example (or use a diff set of IDs for Game Center etc).

Regards, Emerson