Yes, you're right. I think it's easiest to tackle this by validating the pattern.