Type guard to check if the given data is an ApiXErrorResponse.