def body_fits_below(self):
        """Return True if we can fit the body below self.rect.

        To be able to fit the body below the self.rect, two
        conditions must be met:

        1) the body must fit in the space between the bottom
           of the pygame.Rect in the 'rect' attribute and the
           bottom of the boundaries rect; that is, if the
           difference between bottom of 'rect' and bottom
           of boundaries is equal or greater than the
           body's height.
        2) there must be enough space between the left side of
           the rect in the 'rect' attribute and the right
           side of the boundaries rect to fit the body;
           that is, if the difference between the
           boundaries right coordinate and the left
           coordinate of the pygame.Rect in the 'rect'
           attribute is equal or greater than the body's
           width.
        """
        ### retrieve coordinates needed to calculate
        ### conditions from the menu 'rect' attribute and
        ### from the body rect;
        ### notice the body height is reduced by one pixel,
        ### to compensate for the offset by one pixel which
        ### is always applied when the body is laid below the
        ### menu 'rect' as an usability measure

        rect_bottom = self.rect.bottom
        rect_left = self.rect.left

        body_height = self.body.rect.height - 1
        body_width = self.body.rect.width

        ### fetch boundaries rect from menu manager and
        ### retrieve needed coordinates from it

        boundaries_rect = get_boundaries(self)

        boundaries_bottom = boundaries_rect.bottom
        boundaries_right = boundaries_rect.right

        ### calculate conditions

        ## calculate whether the difference between the
        ## bottom of 'rect' and the bottom of the boundaries
        ## rect is equal or greater than the body height
        condition_a = boundaries_bottom - rect_bottom >= body_height

        ## calculate whether there's enough space between
        ## the left side of the rect in the 'rect' attribute
        ## and the right side of the boundaries rect to fit
        ## the body.
        condition_b = boundaries_right - rect_left >= body_width

        ### return whether both conditions are met or not
        return condition_a and condition_b
Return True if we can fit the body below self.rect.

        To be able to fit the body below the self.rect, two
        conditions must be met:

        1) the body must fit in the space between the bottom
           of the pygame.Rect in the 'rect' attribute and the
           bottom of the boundaries rect; that is, if the
           difference between bottom of 'rect' and bottom
           of boundaries is equal or greater than the
           body's height.
        2) there must be enough space between the left side of
           the rect in the 'rect' attribute and the right
           side of the boundaries rect to fit the body;
           that is, if the difference between the
           boundaries right coordinate and the left
           coordinate of the pygame.Rect in the 'rect'
           attribute is equal or greater than the body's
           width.
        
nodezator/menu/submenu/main.py