check if ajax call is from cpac