Validating hasmany data in parent model

Hi,

I was looking how to validate hasMany data in the parent model. Because I want to do validation based on a value only present in the parent entity. Is this possible?

Greets,
Thomas