code: @Override
      public boolean hasHttpsEndpoint(String serviceName) {
  
          if (!isServiceSupported(serviceName)) return false;
  
          return getEndpoint(serviceName).hasHttpsSupport();
  
      }
docs: Returns true if the service is explicitly enabled for https in this
  region or a service is partition wide enabled. Returns false otherwise.
  <p/>
  For new regions that match the partition's region regex, if the
  service is enabled partition wide then this method will return true.