security/subsystem/src/main/java/org/jboss/as/security/vault/VaultSession.java
public boolean checkSecuredAttribute(String vaultBlock, String attributeName) throws Exception {
        return vault.exists(vaultBlock, attributeName);
    }
public boolean checkSecuredAttribute(String vaultBlock, String attributeName) throws Exception {
        return vault.exists(vaultBlock, attributeName);
    }
public boolean checkSecuredAttribute ( String vaultBlock , String attributeName ) throws Exception { return vault . exists ( vaultBlock , attributeName ) ; }
Check whether secured attribute is already set for given vault block and attribute name. This method can be called only after
successful startVaultSession() call.

@param vaultBlock
@param attributeName
@return true is password already exists for given vault block and attribute name.
@throws Exception
Check whether secured attribute is already set for given vault block and attribute name . This method can be called only after successful startVaultSession () call .