Is there anyway to detect if the current server operation is currently an AJAX request in WordPress?
For example:
is_ajax()