code: def isexec(self, mode=stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH):
          
          return self.connection.isexec(self, mode)
docs: isexec:
  
          @rtype: bool
          @return: Indicates whether the path points to a file or folder
          which has the executable flag set.
  
          Note that on systems which do not support executables flags the
          result may be unpredicatable.  On Windows the value is determined
          by the file extension, a *.exe file is executable, a *.sh not.