Add is_ajax() function to Request controller