code: public boolean hasConflicts() {
          int count = 0;
          for(DocumentRevisionNode n : leafs) {
              if(!n.getData().isDeleted()) {
                  count ++;
                  if(count > 1) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: <p>Returns whether this document is conflicted.</p>
  
  @return true if there is more than one branch terminated by an active
  leaf revision, otherwise false