Check for undefined data / data.response