private static boolean hasServer(final String[] args) {
    return args.length > 0 && args[0].equals(SERVER_ARG);
  }
@param args the arguments to check
@return True if argument strings have a '-server' in them.
hbase-zookeeper/src/main/java/org/apache/hadoop/hbase/zookeeper/ZKMainServer.java