protected function isValidRegionCode($regionCode) { return $regionCode !== null && in_array($regionCode, $this->supportedRegions); }