There seems to be a variety of ways!!

```
if(!_jqLiteMode)
```

```
if (!jqLite.fn)
```

```
if (window.jQuery)
```

I guess the first is the right method for internal tests