structure: add exampel for IsValid()