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.

def isexec(self, mode=stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH):
        """
        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.
        """
        return self.connection.isexec(self, mode)