MutaPath.
access
Return True if current user has access to this path.
True
mode - One of the constants os.F_OK, os.R_OK, os.W_OK, os.X_OK
os.F_OK
os.R_OK
os.W_OK
os.X_OK
See also
os.access()