@Override
  public boolean isEmpty() {
    return getExecutorData().getExecutors().isEmpty();
  }
This is a pseudo local implementation of SparkApplicationData interface, supposed to be used for test purpose.
test/com/linkedin/drelephant/spark/legacydata/MockSparkApplicationData.java