public boolean isClosed() {
    return csvPrinter == null;
  }
Tests this KerberosConfigDataFileWriter to see if the data file is closed.

@return true if closed; otherwise false
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/AbstractKerberosDataFileWriter.java