How do I determine in the code whether or not my project is running compiled or not.