sceptre/environment.py
def is_leaf(self):
        """
        Returns a boolean indicating if this environment is a leaf environment.

        The environment is a leaf environment if all items in the environent's
        directory are files (i.e. there are no sub-environments).

        :returns: A boolean indicating whether the environment is a leaf
            environment or not.
        :returns: bool
        """
        if self._is_leaf is None:
            self._is_leaf = all([
                os.path.isfile(path)
                for path in glob(os.path.join(
                    self.sceptre_dir, "config", self.path, "*"
                ))
            ])
        return self._is_leaf

        Returns a boolean indicating if this environment is a leaf environment.

        The environment is a leaf environment if all items in the environent's
        directory are files (i.e. there are no sub-environments).

        :returns: A boolean indicating whether the environment is a leaf
            environment or not.
        :returns: bool
        
Returns a boolean indicating if this environment is a leaf environment.
The environment is a leaf environment if all items in the environent's
directory are files .
Returns a boolean indicating if this environment is a leaf environment . The environment is a leaf environment if all items in the environent ' s directory are files .
def is_leaf(self):
        if self._is_leaf is None:
            self._is_leaf = all([
                os.path.isfile(path)
                for path in glob(os.path.join(
                    self.sceptre_dir, "config", self.path, "*"
                ))
            ])
        return self._is_leaf
def is_leaf ( self ) : if self . _is_leaf is None : self . _is_leaf = all ( [ os . path . isfile ( path ) for path in glob ( os . path . join ( self . sceptre_dir , "config" , self . path , "*" ) ) ] ) return self . _is_leaf
Returns a boolean indicating if this environment is a leaf environment.
Returns a boolean indicating if this environment is a leaf environment .
"""
        Returns a boolean indicating if this environment is a leaf environment.

        The environment is a leaf environment if all items in the environent's
        directory are files (i.e. there are no sub-environments).

        :returns: A boolean indicating whether the environment is a leaf
            environment or not.
        :returns: bool
        """
A boolean indicating whether the environment is a leaf
environment or not.
A boolean indicating whether the environment is a leaf environment or not .
None
self