class MissingElementViolationPredicate implements ViolationPredicate {

    @Override
    public Optional<Boolean> apply(Overlap overlap) {
        return isMissingElement(overlap) ? Optional.of(true) : Optional.empty();
    }

}