DRY in t/IsValid