class Transformers3WValidation extends AbstractTransformersValidation {

    @Override
    public boolean checkTransformers(Network network, ValidationConfig config, ValidationWriter twtsWriter) {
        Objects.requireNonNull(network);
        Objects.requireNonNull(config);
        Objects.requireNonNull(twtsWriter);

        LOGGER.info("Checking 3W transformers of network {}", network.getId());
        return network.getThreeWindingsTransformerStream()
                .sorted(Comparator.comparing(ThreeWindingsTransformer::getId))
                .map(twt -> checkTransformer(twt, config, twtsWriter))
                .reduce(Boolean::logicalAnd)
                .orElse(true);
    }

    private  Transformers3WValidation();

}