def _check_executable(possible_executable_path, source, setting):

    if os.path.exists(possible_executable_path):
        is_executable = os.path.isfile(possible_executable_path) and os.access(possible_executable_path, os.X_OK)
        if is_executable:
            return True

        if debug_enabled():
            executable_name = os.path.basename(possible_executable_path)
            print(
                'golangconfig: binary %s found in PATH from %s - "%s" - is not executable' %
                (
                    executable_name,
                    source,
                    setting
                )
            )

    return False
Create and return an Inkscape SVG layer
dataset/ETHPy150Open golang/sublime-config/all/golangconfig.py/_check_executable--crossover with--dataset/ETHPy150Open boldport/pcbmode/pcbmode/utils/svg.py/makeSvgLayer