test if zip file is password protected

test if zip file is password protected

I need to check if a zip file is password protected before attempting to reveal the contents.    Is there a function that allows me to do that?