public boolean contains(final String sideEffectKey) {
        return sideEffects.stream().anyMatch(triplet -> triplet.getValue0().equals(sideEffectKey));
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/strategy/decoration/SideEffectStrategy.java