public static <T> Predicate<T> not(Predicate<T> predicate) {
        return predicate.negate();
    }
Negates a {@link Predicate}.

@param predicate Predicate to negate.
@param <T> Value type of the predicate.
@return Returns a predicate that negates the given predicate.
smithy-utils/src/main/java/software/amazon/smithy/utils/FunctionalUtils.java