public boolean isOnline() {
    return serviceStarted;
  }
Report whether this master is started This method is used for testing.
@return true if master is ready to go, false if not.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java