def _os_path_isdir(pathname):
    try:
        s = _os_stat(pathname)
    except OSError:
        return None
    return (s.st_mode & 0170000) == 0040000
Config backend is static and never needs admin
dataset/ETHPy150Open anandology/pyjamas/pyjd/imputil.py/_os_path_isdir--crossover with--dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestConfigBackend.test_need_admin