public boolean hasIncomingEdges(V vertice) {

    for (V v : getVertices()) {

      for (E e : getIncidentEdges(v)) {
        if (e.getVertexB().getId() == vertice.getId()) {
          return true;
        }
      }
    }

    return false;
  }