isAjax
A method that returns a boolean that signifies if the content was requested via xmlhttprequest or GET/POST.
In LEAP™ 5, a page variable $isAjax is already populated from the kernel. If $isAjax is true, content will be served with the appropriate content type by the LEAP™ 5 kernel regardless of XML, JSON or JSONP datatypes.
Usage
local(q = isAjax)
#q
-> false