nl: call the function os.stat with an argument path, perform bitwise and on 2 operands st_mode field of the result and stat.S_IREAD,
code: if ( ( os . stat ( path ) . st_mode & stat . S_IREAD ) != stat . S_IREAD ) :