<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def all(self):
 """ Returns all layout objects of first level of depth """

        self._check_layout()
        return LayoutSlice(self.layout, slice(0, len(self.layout.fields), 1))