public default boolean hasAnyOpenTransactions() {
        return getGraphNames().stream().anyMatch(graphName -> {
            final Graph graph = getGraph(graphName);
            return graph.features().graph().supportsTransactions() && graph.tx().isOpen();
        });
    }
Determines if any {@link Graph} instances that support transactions have open transactions.
gremlin-server/src/main/java/org/apache/tinkerpop/gremlin/server/GraphManager.java