wrap a dds diagnostic print in verbose flag check