public boolean hasSaslCredentials(){
  return saslUsername != null && saslUsername.length() > 0;
}

public boolean hasSaslCredentials ( ) { return saslUsername != null && saslUsername . length ( ) > 0 ; }
does this instance have credentials for sasl authentication ?
