/** * This method will return true the application is run * * @return True if the development sources are present */ public static boolean isDevelopmentRun() { Environment env = Environment.getCurrent(); return isDevelopmentEnvironmentAvailable() && Boolean.getBoolean(RUN_ACTIVE) && (env == Environment.DEVELOPMENT); }