public boolean isOpen() {
    return open;
  }
Test this KerberosOperationHandler to see whether is was previously open or not

@return a boolean value indicating whether this KerberosOperationHandler was open (true) or not (false)
ambari-server/src/main/java/org/apache/ambari/server/serveraction/kerberos/KerberosOperationHandler.java