A credit rating can help assess a bond’s prospects