• Checking that an application is running before using Application()