code: public boolean isVertex(final ODocument iRecord) {
      return iRecord != null ? iRecord.getSchemaClass().isSubClassOf(vertexBaseClass) : false;
    }
docs: Returns true if the document is a vertex (its class is OGraphVertex or any subclasses)
  
  @param iRecord
  Document to analyze.
  @return true if the document is a vertex (its class is OGraphVertex or any subclasses)