Proper checking for benespeak and XDR