docs: static Intent getIntent(Collection<? extends RedisCommand<?, ?, ?>> commands) {
  
          boolean w = false;
          boolean r = false;
          Intent singleIntent = Intent.WRITE;
  
          for (RedisCommand<?, ?, ?> command : commands) {
  
              if (command instanceof ClusterCommand) {
                  continue;
              }
  
              singleIntent = getIntent(command.getType());
              if (singleIntent == Intent.READ) {
                  r = true;
              }
  
              if (singleIntent == Intent.WRITE) {
                  w = true;
              }
  
              if (r && w) {
                  return Intent.WRITE;
              }
          }
  
          return singleIntent;
      }