Ugly checks IMO - to me, this is a problem to be handled via a specialized repository (as discussed before)