Python Check If Executable Items Permission