I think the easiest way is to do it with an observer, an overridden method or even a global variable -- all in all, it's a test.

Actually, we can define constants like:

```
define('NEWRELIC_ADDED_APPNAME', true);
```

But again, before doing anything I'd rather hear from @Seldaek, I havent checked how other handlers that should connect to 3rd party extensions do this, he might want to uniform them.