Check if request header is not undefined