class CaseManagementCommandUtil {

    public static Predicate<Edge> sequencePredicate() {
        return edge -> edge.getContent() instanceof ViewConnector
                && ((ViewConnector) edge.getContent()).getDefinition() instanceof SequenceFlow;
    }

}