docs: private boolean alreadyVisited(ODocument neighbor, ODocument[] steps) {
          for (ODocument step : steps) {
              ODocument out = graph.getOutVertex(step);
              if (out.equals(neighbor)) {
                  return true;
              }
          }
          return false;
      }