public boolean isConnected(NetworkGraph graph, Mass other) {
        List<Spring> springs = graph.getSprings(this);

        for (Spring spring : springs) {
            if (spring.isConnected(other)) {
                return true;
            }
        }

        return false;
    }