Travel insurance - Diamond

If someone else is paying for a holiday that you are taking with them, with their name on the invoice, if you subsequently buy travel insurance just for yourself, and you find you have to cancel for a valid reason, would the insurance company pay out seeing that the invoice was not in your name and not paid by you?