class NoEffectPredicate implements Predicate<T> {

    @Override
    public boolean test(T input)
    {
        return Objects.equals(myFunction.apply(input), input);
    }

    public  NoEffectPredicate(Function<? super T, ? extends T> function);

}