code: public boolean isHasShardingQueryAssistedEncryptor(final String logicTableName) {
          return shardingEncryptor instanceof ShardingQueryAssistedEncryptor && !Collections2.filter(assistedQueryColumns, new Predicate<ColumnNode>() {
              
              @Override
              public boolean apply(final ColumnNode input) {
                  return input.getTableName().equals(logicTableName);
              }
          }).isEmpty();
      }
docs: Is has sharding query assisted encryptor or not.
  
  @param logicTableName logic table name
  @return has sharding query assisted encryptor or not