AreTheParentsOf extension method neatens things up