code: public boolean hasInEdges() {
  		final Set<ODocument> docs = document.field(OGraphDatabase.VERTEX_FIELD_IN);
  		return docs != null && !docs.isEmpty();
  	}
docs: Returns true if the vertex has at least one incoming edge, otherwise false.