Use the property IsEncrypted to check if the current object is encrypted.
property IsEncrypted: Boolean;
Returns true if the current object is encrypted.
ShellControls.TJamShellListItem