public function isValid($data, $context = null, $removeNotPresentFields = false) { if ($this->hasEmptyList()) { throw new ForbiddenException('User has no available regions'); } return parent::isValid($data, $context, $removeNotPresentFields); }