How to detect if a file is executable on Windows?

Hi all,
on Linux/Unix/BSD, we can detect if a file is an executable with
os.access(path, os.X_OK) but this is not the case on Windows.
Do you have an idea?
Have a nice day,
St?phane
--
St?phane Wirtel - https://wirtel.be - @matrixise