server/src/main/java/com/orientechnologies/orient/server/distributed/ODistributedConfiguration.java
public boolean isSharded() {

    final ODocument allCluster = getClusterConfiguration(ALL_WILDCARD);
    if (allCluster != null) {
      final List<String> allServers = allCluster.field(SERVERS);
      if (allServers != null && !allServers.isEmpty()) {
        for (String cl : getClusterNames()) {
          final List<String> servers = getServers(cl, null);
          if (servers != null && !servers.isEmpty() && !allServers.containsAll(servers))
            return false;
        }
      }
    }
    return false;
  }
public boolean isSharded() {

    final ODocument allCluster = getClusterConfiguration(ALL_WILDCARD);
    if (allCluster != null) {
      final List<String> allServers = allCluster.field(SERVERS);
      if (allServers != null && !allServers.isEmpty()) {
        for (String cl : getClusterNames()) {
          final List<String> servers = getServers(cl, null);
          if (servers != null && !servers.isEmpty() && !allServers.containsAll(servers))
            return false;
        }
      }
    }
    return false;
  }
Returns true if the database is sharded across servers. False if it's completely replicated.