check if request and response present