boolean public static \Bitrix\Main\Page\Frame::isAjaxRequest( );
Static method returns true when current request is initialized by AJAX.
No parameters