Cool, all I have realised is that if someone is specifically doing a jquery powered application, they can just write it and use it on their own using the below code
```py
def is_ajax():
return request.headers.get('x-requested-with') == 'XMLHttpRequest'
```