code: private boolean isServiceSupportedInRegion(String serviceName) {
          return partition.getServices().get(serviceName) != null
                  && partition.getServices().get(serviceName).getEndpoints()
                  .containsKey(region);
      }
docs: This method returns true only if the metadata for the service contains the given
  region in the list of supported regions.