docs: def should_show_by_depth(self, cur_level=None):
          """
          Args:
              cur_level (int): depth level to take into account
  
          Returns:
              bool: True if the given depth level should show messages (not
                  taking into account the log level)
          """
          if cur_level is None:
              cur_level = self.cur_depth_level
  
          return (self.task_tree_depth < 0 or self.task_tree_depth >= cur_level)