This is a common litmus test. If you parted on good terms you would not object. Its not about the how, but about your reaction. If I see someone flinch I will ask more in that direction and if someone is avoiding and does not seem honest I actually call and ask the full story.
The truth usually resides somewhere between the two stories and that and depending if I think I would want to work with that person, I will hire them. In rare cases with an extended probationary period.
In your situation I would just answer: sure why not? But I don't have any way to contact them myself, but I can offer the name and company name, so you have something to go on.