code: @Override
      public void basicValidate(final String section) throws ConfigException {
          super.basicValidate(CONFIG_SECTION);
  
          if (address == null && (sentinels == null || sentinels.isEmpty())) {
              throw new ConfigException(CONFIG_SECTION, "Redis configuration requires either an address or at least one sentinel to connect to");
          }
  
          if (sentinels != null && !sentinels.isEmpty()) {
              if (StringUtils.isBlank(masterName)) {
                  throw new ConfigException(CONFIG_SECTION, "Redis configuration requires a masterName when connecting to sentinel");
              }
  
              for (final HostAndPort sentinel : sentinels) {
                  sentinel.basicValidate(CONFIG_SECTION);
              }
          }
      }
docs: Validates the configuration
  
  @throws ConfigException If either:
  <ul>
  <li>address is non null and invalid</li>
  <li>address is null and sentinels is null or empty </li>
  <li>sentinels is non null and non empty and masterName is null or blank</li>
  <li>any sentinels are invalid</li>
  </ul>