title: Delphi JEDI JCL JclCompression: Detect password-protected archive
body: <p>Can you detect whether an archive is password protected with JclCompression from the JEDI Code Library (JCL)?  I want to extract various archives, but obviously I don't want to show a password prompt unless the archive requires a password.  I can set a password correctly, just not detect whether an archive needs one.  The following SO post shows how to set the password:</p>
  
  <p><a href="https://stackoverflow.com/questions/74519/using-7-zip-from-delphi">Using 7-Zip from Delphi?</a></p>
  
  <p>It's possible the option doesn't exist since there's a TODO in the procedure that appears to get archive properties such as <code>ipEncrypted</code> (from JCL 2.5):</p>
  
  <pre><code>procedure TJclDecompressItem.CheckGetProperty(
    AProperty: TJclCompressionItemProperty);
  begin
    // TODO
  end;
  </code></pre>