private boolean isKsmUserConfigEnabled(Connectable connectable) {

        // User-level config is enabled IFF the appropriate attribute is set to true
        if (connectable instanceof Attributes)
            return KsmAttributeService.TRUTH_VALUE.equals(((Attributes) connectable).getAttributes().get(
                KsmAttributeService.KSM_USER_CONFIG_ENABLED_ATTRIBUTE));

        // If there's no attributes to check, the user config cannot be enabled
        return false;

    }
Returns true if user-level KSM configuration is enabled for the given
Connectable, false otherwise.

@param connectable
    The connectable to check for whether user-level KSM configs are
    enabled.

@return
    True if user-level KSM configuration is enabled for the given
    Connectable, false otherwise.
extensions/guacamole-vault/modules/guacamole-vault-ksm/src/main/java/org/apache/guacamole/vault/ksm/secret/KsmSecretService.java