<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def leaves(self):
 """ Retrieve a list of windows that delineate from the currently selected container. Only lists client windows, no intermediate containers. :rtype: List of :class:`Con`. """

        leaves = []

        for c in self:
            if not c.nodes and c.type == "con" and c.parent.type != "dockarea":
                leaves.append(c)

        return leaves