def is_executable(exe):
    return os.access(exe, os.X_OK)

############################################################
## Relocating the environment:
Checks a file is executable
dataset/ETHPy150Open femmerling/backyard/virtualenv.py/is_executable