public boolean isServerOnline(ServerName serverName) {
    return serverName != null && onlineServers.containsKey(serverName);
  }
Returns A copy of the internal list of draining servers.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/ServerManager.java