private boolean isValidRegionCode(String regionCode){
  return regionCode != null && supportedRegions.contains(regionCode);
}

private boolean isValidRegionCode ( String regionCode ) { return regionCode != null && supportedRegions . contains ( regionCode ) ; }
helper function to check region code is not unknown or null .
